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