初始框架(1.0.0)
This commit is contained in:
23
vue.config.js
Normal file
23
vue.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
const { defineConfig } = require('@vue/cli-service');
|
||||
|
||||
const { npm_package_name: packageName } = process.env;
|
||||
|
||||
if (packageName) {
|
||||
process.title = packageName;
|
||||
}
|
||||
|
||||
module.exports = defineConfig({
|
||||
|
||||
assetsDir: 'static',
|
||||
publicPath: './',
|
||||
outputDir: 'dist',
|
||||
|
||||
productionSourceMap: false,
|
||||
transpileDependencies: false,
|
||||
|
||||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
port: 9000,
|
||||
},
|
||||
|
||||
});
|
Reference in New Issue
Block a user