1234567891011121314151617181920212223242526272829 |
- const { defineConfig } = require('@vue/cli-service')
- const AutoImport = require('unplugin-auto-import/webpack')
- module.exports = defineConfig({
- devServer: {
- port: 9001
- },
- transpileDependencies: true,
- lintOnSave: false,
- chainWebpack: config => {
- config
- .plugin('html')
- .tap(args => {
- args[0].title = 'AIGC-poc'
- return args
- })
- },
- configureWebpack: {
- plugins: [
- // require('unplugin-auto-import/webpack')({
- // imports: ['vue', 'vue-router'],
- // eslintrc: {
- // enabled: true,
- // filepath: './.eslintrc-auto-import.json',
- // globalsPropValue: true
- // }
- // })
- ]
- }
- })
|