1.在src文件夹下新建页面文件夹
2.在页面文件夹中新建index.vue
3.在router中配置路由
import index from "@/components/text/index";
{
path: '/text/index',
name: 'index',
component: index
},
lilililiwang 原文
1.在src文件夹下新建页面文件夹
2.在页面文件夹中新建index.vue
3.在router中配置路由
import index from "@/components/text/index";
{
path: '/text/index',
name: 'index',
component: index
},