111
This commit is contained in:
@@ -4,11 +4,11 @@ import VueRouter from 'vue-router'
|
||||
Vue.use(VueRouter)
|
||||
|
||||
const routes = [
|
||||
//{
|
||||
// path: '/',
|
||||
// {
|
||||
// path: '/test',
|
||||
// name: 'index',
|
||||
// component: () => import(/* webpackChunkName: "about" */ '../views/index')
|
||||
//},
|
||||
// component: () => import(/* webpackChunkName: "about" */ '../views/test.vue')
|
||||
// },
|
||||
{
|
||||
path: '/home',
|
||||
name: 'index',
|
||||
|
||||
22
src/views/test.vue
Normal file
22
src/views/test.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
5646546545646
|
||||
65656
|
||||
646546
|
||||
6456
|
||||
566556
|
||||
<img src="/attached/image/20141002/20141002094114_861.jpg" alt="" >
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "test"
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user