切换编译为传统的webpack

This commit is contained in:
niyyzf 2024-08-03 13:15:41 +08:00
parent 6d41883288
commit c84f3f6f0e
1 changed files with 68 additions and 67 deletions

View File

@ -1,11 +1,12 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
import AutoImport from 'unplugin-auto-import/vite'
import Components from 'unplugin-vue-components/vite'
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
import {NaiveUiResolver} from 'unplugin-vue-components/resolvers'
export default defineNuxtConfig({
devtools: {enabled: true},
builder: "webpack",
ssr: false,
modules: [
'@nuxtjs/color-mode',