From f7de2091975ad5f8f5fd10eaf2ecccf95291519d Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Tue, 29 Aug 2017 15:51:50 +0200 Subject: [PATCH] reordered for custom views --- conf/init.json | 12 ++-- index.html | 3 +- src/app.vue | 9 +-- src/main.js | 59 +++++++++----------- src/{components => views}/dashboard.vue | 0 src/{components => views}/forms/login.vue | 2 +- src/{components => views/forms}/logout.vue | 0 src/{components => views/lists}/userlist.vue | 2 +- src/views/views.js | 11 ++++ webpack.config.js | 4 +- 10 files changed, 51 insertions(+), 51 deletions(-) rename src/{components => views}/dashboard.vue (100%) rename src/{components => views}/forms/login.vue (96%) rename src/{components => views/forms}/logout.vue (100%) rename src/{components => views/lists}/userlist.vue (96%) create mode 100644 src/views/views.js diff --git a/conf/init.json b/conf/init.json index 3c7c558..f372de8 100644 --- a/conf/init.json +++ b/conf/init.json @@ -6,22 +6,26 @@ { "name": "Login", "to": "/login", - "icon": "fa-home" + "icon": "fa-home", + "content": "" }, { "name": "Dashboard", "to": "/", - "icon": "fa-home" + "icon": "fa-home", + "content": "" }, { "name": "Userlist", "to": "/userlist", - "icon": "fa-news" + "icon": "fa-news", + "content": "" }, { "name": "Logout", "to": "/logout", - "icon": "fa-lock" + "icon": "fa-lock", + "content": "" } ] } \ No newline at end of file diff --git a/index.html b/index.html index ee1d3db..e23cb8f 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ Vue Example +