Skip to content

Commit 619523d

Browse files
author
BYSu
committed
移除無用的檔案
1 parent b925c02 commit 619523d

File tree

6 files changed

+1
-191
lines changed

6 files changed

+1
-191
lines changed

src/App.vue

-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
<template>
22
<div id="app">
3-
<div id="nav">
4-
<router-link to="/">
5-
Home
6-
</router-link> |
7-
<router-link to="/about">
8-
About
9-
</router-link>
10-
</div>
113
<router-view />
124
</div>
135
</template>

src/assets/style/main.scss

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
@import 'reset';
2-
@import 'utils';
3-
41
#app {
52
font-family: 'Avenir', Helvetica, Arial, sans-serif;
63
-webkit-font-smoothing: antialiased;

src/components/HelloWorld.vue

-141
This file was deleted.

src/pages/About.vue

-5
This file was deleted.

src/pages/Home.vue

-21
This file was deleted.

src/router/index.js

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
11
import Vue from 'vue'
22
import VueRouter from 'vue-router'
3-
import Home from '../pages/Home.vue'
43

54
Vue.use(VueRouter)
65

7-
const routes = [
8-
{
9-
path: '/',
10-
name: 'home',
11-
component: Home
12-
},
13-
{
14-
path: '/about',
15-
name: 'about',
16-
component: () => import(/* webpackChunkName: "about" */ '../pages/About.vue')
17-
}
18-
]
6+
const routes = []
197

208
const router = new VueRouter({
219
mode: 'history',

0 commit comments

Comments
 (0)