diff --git a/vue/public/index.html b/vue/public/index.html index 2234a07..0609fd8 100644 --- a/vue/public/index.html +++ b/vue/public/index.html @@ -14,8 +14,8 @@ - - + + diff --git a/vue/src/pages/screen/index.js b/vue/src/pages/screen/index.js index 990a269..8ae631a 100644 --- a/vue/src/pages/screen/index.js +++ b/vue/src/pages/screen/index.js @@ -1,5 +1,12 @@ export default { - 'screen/component': () => import( /* webpackChunkName: "pages/screen/component" */ "./component/component.vue"), - 'screen/list': () => import( /* webpackChunkName: "pages/screen/list" */ "./list/list.vue"), - 'screen/template': () => import( /* webpackChunkName: "pages/screen/template" */ "./template/template.vue") -}; \ No newline at end of file + "screen/component": () => + import( + /* webpackChunkName: "pages/screen/component" */ "./component/component.vue" + ), + "screen/list": () => + import(/* webpackChunkName: "pages/screen/list" */ "./list/list.vue"), + "screen/template": () => + import( + /* webpackChunkName: "pages/screen/template" */ "./template/template.vue" + ), +}; diff --git a/vue/webpack.config.js b/vue/webpack.config.js index 21d31ae..c8583de 100644 --- a/vue/webpack.config.js +++ b/vue/webpack.config.js @@ -138,6 +138,7 @@ module.exports = (env, argv) => { client: false, host: "127.0.0.1", allowedHosts: "all", + historyApiFallback: true, onAfterSetupMiddleware: MiddleWare, static: { directory: path.join(vuePath, "public"),