web/satellite: Pages lazy loading added (#3467)

This commit is contained in:
Nikolay Yurchenko 2019-11-05 12:32:34 +02:00 committed by GitHub
parent def3dcbaa9
commit 75db47f13f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -18,10 +18,10 @@ import ProjectMembersArea from '@/components/team/ProjectMembersArea.vue';
import { NavigationLink } from '@/types/navigation';
import { AuthToken } from '@/utils/authToken';
import DashboardArea from '@/views/DashboardArea.vue';
import ForgotPassword from '@/views/forgotPassword/ForgotPassword.vue';
import LoginArea from '@/views/login/LoginArea.vue';
import RegisterArea from '@/views/register/RegisterArea.vue';
const DashboardArea = () => import('@/views/DashboardArea.vue');
const ForgotPassword = () => import('@/views/forgotPassword/ForgotPassword.vue');
const LoginArea = () => import('@/views/login/LoginArea.vue');
const RegisterArea = () => import('@/views/register/RegisterArea.vue');
Vue.use(Router);

View File

@ -24,7 +24,7 @@ module.exports = {
],
},
chainWebpack: config => {
config.output.chunkFilename(`js/vendors.js`);
config.output.chunkFilename(`js/vendors_[name].js`);
config.output.filename(`js/app.js`);
config.resolve.alias