添加页面

This commit is contained in:
gongxh
2021-04-30 16:39:20 +08:00
parent e8dff8f15f
commit a3d1e40197
14 changed files with 1182 additions and 174 deletions

View File

@@ -4,21 +4,25 @@ import ViewUI from "view-design";
import "view-design/dist/styles/iview.css";
import VueClipboard from "vue-clipboard2";
import HelloWorld from "./components/HelloWorld.vue";
// import HelloWorld from "./components/HelloWorld.vue";
import Fault from './components/Fault.vue'
// import Fault from './components/Fault.vue'
import VueRouter from "vue-router";
const routes=[
{
path: '/',
name: '_home',
redirect: '/a'
},
{ path: '/a', component: HelloWorld },
{ path: '/b', component: Fault }
]
import routes from '@/route'
// const routes=[
// {
// path: '/',
// name: '_home',
// redirect: '/a'
// },
// { path: '/a', component: HelloWorld },
// { path: '/b', component: Fault }
// ]