From a2289e91f2a059fa52c6023e5704f53702b6db96 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Sun, 13 Jan 2019 01:26:45 -0200 Subject: [PATCH] remove rotas do app hellow e impl multiplas entradas --- sapl-frontend/src/{ => hellow}/App.vue | 0 .../{ => hellow}/components/HelloWorld.vue | 0 sapl-frontend/src/{ => hellow}/main.js | 0 sapl-frontend/src/hellow/router.js | 11 ++++++++ sapl-frontend/src/{ => hellow}/store.js | 0 .../src/{ => hellow}/views/About.vue | 0 sapl-frontend/src/{ => hellow}/views/Home.vue | 4 +-- sapl-frontend/src/router.js | 26 ------------------- sapl-frontend/vue.config.js | 8 ++++++ sapl/templates/base.html | 4 +-- 10 files changed, 23 insertions(+), 30 deletions(-) rename sapl-frontend/src/{ => hellow}/App.vue (100%) rename sapl-frontend/src/{ => hellow}/components/HelloWorld.vue (100%) rename sapl-frontend/src/{ => hellow}/main.js (100%) create mode 100644 sapl-frontend/src/hellow/router.js rename sapl-frontend/src/{ => hellow}/store.js (100%) rename sapl-frontend/src/{ => hellow}/views/About.vue (100%) rename sapl-frontend/src/{ => hellow}/views/Home.vue (65%) delete mode 100644 sapl-frontend/src/router.js diff --git a/sapl-frontend/src/App.vue b/sapl-frontend/src/hellow/App.vue similarity index 100% rename from sapl-frontend/src/App.vue rename to sapl-frontend/src/hellow/App.vue diff --git a/sapl-frontend/src/components/HelloWorld.vue b/sapl-frontend/src/hellow/components/HelloWorld.vue similarity index 100% rename from sapl-frontend/src/components/HelloWorld.vue rename to sapl-frontend/src/hellow/components/HelloWorld.vue diff --git a/sapl-frontend/src/main.js b/sapl-frontend/src/hellow/main.js similarity index 100% rename from sapl-frontend/src/main.js rename to sapl-frontend/src/hellow/main.js diff --git a/sapl-frontend/src/hellow/router.js b/sapl-frontend/src/hellow/router.js new file mode 100644 index 000000000..312079b94 --- /dev/null +++ b/sapl-frontend/src/hellow/router.js @@ -0,0 +1,11 @@ +import Vue from "vue"; +import Router from "vue-router"; + +Vue.use(Router); + +export default new Router({ + mode: "history", + base: process.env.BASE_URL, + routes: [ + ] +}); diff --git a/sapl-frontend/src/store.js b/sapl-frontend/src/hellow/store.js similarity index 100% rename from sapl-frontend/src/store.js rename to sapl-frontend/src/hellow/store.js diff --git a/sapl-frontend/src/views/About.vue b/sapl-frontend/src/hellow/views/About.vue similarity index 100% rename from sapl-frontend/src/views/About.vue rename to sapl-frontend/src/hellow/views/About.vue diff --git a/sapl-frontend/src/views/Home.vue b/sapl-frontend/src/hellow/views/Home.vue similarity index 65% rename from sapl-frontend/src/views/Home.vue rename to sapl-frontend/src/hellow/views/Home.vue index 05494f654..3d9825f2d 100644 --- a/sapl-frontend/src/views/Home.vue +++ b/sapl-frontend/src/hellow/views/Home.vue @@ -1,13 +1,13 @@