三、live-server 的使用: 1.在项目文件夹下,用npm进行全局安装: 2.安装完毕后,先进入终端,然后在项目目录中打开: 3.运行后,在浏览器中显示以下页面: 4.终止: 四、项目初始化: 编写第一个Vue2.0实例:HelloWorld 第二节:v-if、v-else、v-show 指令 ...
: string) {\n // 如果页面链接没传或者无效链接,则默认为根域名\n if ( !pageUrl || typeof pageUrl !== 'string' ) {\n pageUrl = '/';\n }\n\n // 如果页面链接带上了域名,则需要过滤掉\n if ( pageUrl.includes('http') ) {\n const PAGE_CUT = pageUrl.split('/');\n ...
{path: '/s/live/list', meta: {keepAlive:true,title: '课程'}, component: resolve => require(['../pages/s/live/list/Index.vue'], resolve)},{path: '/live/detail(/)?:id', redirect: '/s/live/detail?:id'},{path: '/s/live/detail', meta: {title: '课程详情'}, component: ...