Commit 91f50604 by XiaHou

域名地址

parent 686293b0
......@@ -48,7 +48,7 @@ const routes = [
const router = new VueRouter({
mode: 'history',
base: 'goodsManage',
base: '/goodsManage',
routes
})
......
// const Timestamp = new Date().getTime()
// const MiniCssExtractPlugin = require('mini-css-extract-plugin') // 表示自定义的系统配置
const Timestamp = new Date().getTime()
module.exports = {
assetsDir: 'goodsManage',
configureWebpack: {
// output: {
// // 输出重构【模块名称.hash值.时间戳】
// filename: `goodsManage/[name].[hash].${Timestamp}.js`,
// chunkFilename: `goodsManage/[name].[hash].${Timestamp}.js`
// },
// plugins: [
// new MiniCssExtractPlugin({
// // 修改打包后css文件名
// filename: `goodsManage/[name].[hash].${Timestamp}.css`,
// chunkFilename: `goodsManage/[name].[hash].${Timestamp}.css`
// })
// ]
output: {
// 输出重构【模块名称.hash值.时间戳】
filename: `[name].[hash].${Timestamp}.js`,
chunkFilename: `[name].[hash].${Timestamp}.js`
}
},
// chainWebpack: config => {
// config.module
// .rule('images')
// .use('url-loader')
// .tap(options => {
// options.name = `goodsManage/[name].[hash].${Timestamp}.[ext]`
// options.fallback = {
// loader: 'file-loader',
// options: {
// name: `goodsManage/[name].[hash].${Timestamp}.[ext]`
// }
// }
// return options
// })
// },
css: {
loaderOptions: {
less: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment