Skip to content

Commit a4167c5

Browse files
committed
make css optional
1 parent 34026f6 commit a4167c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nuxt/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export default defineNuxtModule({
1818
nuxt.options.build.transpile.push(dep)
1919
})
2020

21-
nuxt.options.css.push("vue3-notion/dist/style.css")
21+
if (options.css) {
22+
nuxt.options.css.push("vue3-notion/dist/style.css")
23+
}
2224
},
2325
})

0 commit comments

Comments
 (0)