forked from rc/aircox
upgrade vue and assets
This commit is contained in:
22
assets/vue.config.js
Normal file
22
assets/vue.config.js
Normal file
@ -0,0 +1,22 @@
|
||||
const path = require('path');
|
||||
|
||||
const { defineConfig } = require('@vue/cli-service')
|
||||
module.exports = defineConfig({
|
||||
transpileDependencies: true,
|
||||
outputDir: path.resolve('../aircox/static/aircox'),
|
||||
publicPath: './',
|
||||
runtimeCompiler: true,
|
||||
filenameHashing: false,
|
||||
|
||||
css: {
|
||||
extract: true,
|
||||
loaderOptions: {
|
||||
sass: { sourceMap: true },
|
||||
}
|
||||
},
|
||||
|
||||
pages: {
|
||||
core: { entry: 'src/core.js', },
|
||||
admin: { entry: 'src/admin.js' },
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user