Часть компонентов загружаем динамически
This commit is contained in:
@@ -11,12 +11,12 @@ import Book from './components/CardIndex/Book/Book.vue';
|
|||||||
import History from './components/CardIndex/History/History.vue';
|
import History from './components/CardIndex/History/History.vue';
|
||||||
|
|
||||||
import Reader from './components/Reader/Reader.vue';
|
import Reader from './components/Reader/Reader.vue';
|
||||||
//import Forum from './components/Forum/Forum.vue';
|
//const Forum = () => import('./components/Forum/Forum.vue');
|
||||||
import Income from './components/Income/Income.vue';
|
const Income = () => import('./components/Income/Income.vue');
|
||||||
import Sources from './components/Sources/Sources.vue';
|
const Sources = () => import('./components/Sources/Sources.vue');
|
||||||
import Settings from './components/Settings/Settings.vue';
|
const Settings = () => import('./components/Settings/Settings.vue');
|
||||||
import Help from './components/Help/Help.vue';
|
const Help = () => import('./components/Help/Help.vue');
|
||||||
import NotFound404 from './components/NotFound404/NotFound404.vue';
|
const NotFound404 = () => import('./components/NotFound404/NotFound404.vue');
|
||||||
|
|
||||||
const myRoutes = [
|
const myRoutes = [
|
||||||
['/', null, null, '/cardindex'],
|
['/', null, null, '/cardindex'],
|
||||||
|
|||||||
Reference in New Issue
Block a user