diff --git a/.env.development b/.env.development index 4fad5c2..8956e87 100644 --- a/.env.development +++ b/.env.development @@ -2,5 +2,5 @@ ENV='development' # base api -VUE_APP_BASE_API=http://starter.ali251.langye.net -VUE_APP_UPLOAD_API=http://starter.ali251.langye.net/api/admin/upload-file +VUE_APP_BASE_API=http://jiwei.ali251.langye.net +VUE_APP_UPLOAD_API=http://jiwei.ali251.langye.net/api/admin/upload-file diff --git a/.env.production b/.env.production index f837c50..6b3561a 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = http://starter.ali251.langye.net -VUE_APP_UPLOAD_API =http://starter.ali251.langye.net/api/admin/upload-file \ No newline at end of file +VUE_APP_BASE_API = http://jiwei.ali251.langye.net +VUE_APP_UPLOAD_API =http://jiwei.ali251.langye.net/api/admin/upload-file diff --git a/public/index.html b/public/index.html index 0daf6ee..f7f04fe 100644 --- a/public/index.html +++ b/public/index.html @@ -4,6 +4,9 @@ + + + <%= webpackConfig.name %> diff --git a/src/assets/logo.png b/src/assets/logo.png index 6405818..181693a 100644 Binary files a/src/assets/logo.png and b/src/assets/logo.png differ diff --git a/src/components/LxHeader/index.vue b/src/components/LxHeader/index.vue index 8c95167..76226bf 100644 --- a/src/components/LxHeader/index.vue +++ b/src/components/LxHeader/index.vue @@ -31,7 +31,7 @@ export default { }, }; - diff --git a/src/views/h5/login/login.vue b/src/views/h5/login/login.vue new file mode 100644 index 0000000..b8ba256 --- /dev/null +++ b/src/views/h5/login/login.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/list/list.vue b/src/views/list/list.vue new file mode 100644 index 0000000..d4c3dcf --- /dev/null +++ b/src/views/list/list.vue @@ -0,0 +1,670 @@ + + + + + diff --git a/vue.config.js b/vue.config.js index 9d570e1..95117d3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ function resolve(dir) { } const name = defaultSettings.title // page title - +const timeStamp = new Date().getTime() // If your port is set to 80, // use administrator privileges to execute the command line. // For example, Mac: sudo npm run @@ -35,6 +35,10 @@ module.exports = { sass:{ prependData: '@import "@/styles/index.scss";' } + }, + extract: { // 打包后css文件名称添加时间戳 + filename: `static/css/[name].${timeStamp}.css`, + chunkFilename: `static/css/chunk.[id].${timeStamp}.css` } }, lintOnSave: process.env.NODE_ENV === 'development', @@ -65,6 +69,10 @@ module.exports = { alias: { '@': resolve('src') } + }, + output: { + filename: `js/[name]-${new Date().getTime()}.js`, + chunkFilename: `js/[name]-${new Date().getTime()}.js` } }, chainWebpack(config) {