File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- import { defineNuxtModule , addPlugin , createResolver } from "@nuxt/kit"
1+ import { defineNuxtModule , addPlugin , createResolver } from "@nuxt/kit" ;
22
33export default defineNuxtModule ( {
44 meta : {
@@ -9,19 +9,19 @@ export default defineNuxtModule({
99 } ,
1010 } ,
1111 setup ( options , nuxt ) {
12- const { resolve } = createResolver ( import . meta. url )
13- addPlugin ( resolve ( "./plugin" ) )
12+ const { resolve } = createResolver ( import . meta. url ) ;
13+ addPlugin ( resolve ( "./plugin" ) ) ;
1414
15- const notionDeps = [ "vue3-notion, fragment-for-vue " , "katex" , "prismjs" ]
15+ const notionDeps = [ "vue3-notion" , "katex" , "prismjs" ] ;
1616
1717 notionDeps . forEach ( ( dep ) => {
18- nuxt . options . build . transpile . push ( dep )
19- } )
18+ nuxt . options . build . transpile . push ( dep ) ;
19+ } ) ;
2020
2121 if ( options . css ) {
22- nuxt . options . css . push ( "vue3-notion/dist/style.css" )
23- nuxt . options . css . push ( "prismjs/themes/prism.css" )
24- nuxt . options . css . push ( "katex/dist/katex.min.css" )
22+ nuxt . options . css . push ( "vue3-notion/dist/style.css" ) ;
23+ nuxt . options . css . push ( "prismjs/themes/prism.css" ) ;
24+ nuxt . options . css . push ( "katex/dist/katex.min.css" ) ;
2525 }
2626 } ,
27- } )
27+ } ) ;
You can’t perform that action at this time.
0 commit comments