From 6bbe0b9747ccc6b8481cc51aade7072ab6834c53 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 4 Jul 2020 12:41:36 +0200 Subject: [PATCH] Inicjalizacja projektu --- .gitignore | 1 + public/index.html | 34 +++++++++++--------- src/App.vue | 23 -------------- src/components/HelloWorld.vue | 60 ----------------------------------- src/router/index.ts | 10 +----- src/views/About.vue | 5 --- src/views/Home.vue | 15 ++------- 7 files changed, 24 insertions(+), 124 deletions(-) delete mode 100644 src/components/HelloWorld.vue delete mode 100644 src/views/About.vue diff --git a/.gitignore b/.gitignore index 11f5d71..98e18f7 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ pnpm-debug.log* *.njsproj *.sln *.sw? +node_modules diff --git a/public/index.html b/public/index.html index 4123528..e17ed34 100644 --- a/public/index.html +++ b/public/index.html @@ -1,17 +1,21 @@ - - - - - - <%= htmlWebpackPlugin.options.title %> - - - -
- - - + + + + + + + Stacjownik + + + + +
+ + + + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 3943904..13abc9b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,32 +1,9 @@ diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 9626644..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - diff --git a/src/router/index.ts b/src/router/index.ts index 20d8638..043c87b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -4,19 +4,11 @@ import Home from '../views/Home.vue' Vue.use(VueRouter) - const routes: Array = [ +const routes: Array = [ { path: '/', name: 'Home', component: Home - }, - { - path: '/about', - name: 'About', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') } ] diff --git a/src/views/About.vue b/src/views/About.vue deleted file mode 100644 index 3fa2807..0000000 --- a/src/views/About.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/Home.vue b/src/views/Home.vue index 8bd6c57..d515bae 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,18 +1,9 @@