fix: module build
This commit is contained in:
parent
26df827d33
commit
93be758257
|
|
@ -25,7 +25,7 @@
|
|||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"prepack": "nuxt-module-build build",
|
||||
"prepack": "nuxt-module-build prepare && nuxt-module-build build",
|
||||
"dev": "nuxi dev playground",
|
||||
"dev:build": "nuxi build playground",
|
||||
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
||||
|
|
|
|||
|
|
@ -63,11 +63,7 @@ export default defineNuxtModule<ModuleOptions>({
|
|||
await installModule('@nuxtjs/tailwindcss')
|
||||
|
||||
// Installs the `@nuxtjs/color-mode` module.
|
||||
await installModule('@nuxtjs/color-mode', {
|
||||
colorMode: {
|
||||
classSuffix: '',
|
||||
},
|
||||
})
|
||||
await installModule('@nuxtjs/color-mode')
|
||||
|
||||
// Manually scan `componentsDir` for components and register them for auto imports
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user