File tree 1 file changed +10
-10
lines changed
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" ;
2
2
3
3
export default defineNuxtModule ( {
4
4
meta : {
@@ -9,19 +9,19 @@ export default defineNuxtModule({
9
9
} ,
10
10
} ,
11
11
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" ) ) ;
14
14
15
- const notionDeps = [ "vue3-notion, fragment-for-vue " , "katex" , "prismjs" ]
15
+ const notionDeps = [ "vue3-notion" , "katex" , "prismjs" ] ;
16
16
17
17
notionDeps . forEach ( ( dep ) => {
18
- nuxt . options . build . transpile . push ( dep )
19
- } )
18
+ nuxt . options . build . transpile . push ( dep ) ;
19
+ } ) ;
20
20
21
21
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" ) ;
25
25
}
26
26
} ,
27
- } )
27
+ } ) ;
You can’t perform that action at this time.
0 commit comments