//index.html<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Title</title> <script async type="text/javascript" data-main="script/main" src="//cdn.bootcss.com/require.js/2.3.3/require.js"></script></head><body> <div id="app"> <router-link to="/foo">Go to Foo</router-link> <router-view></router-view> </div></body></html>浏览器报错vue-router,请问是不是写法不对,谢谢
添加回答
举报
0/150
提交
取消