添加统一前缀 test,当地址栏输入 localhost:8000/test/abc与 localhost:8000/abc访问看到的页面是一样的,请问,要如何处理这种情况?
const createRouter = () => new Router({ base: '/test/', mode: 'history' routes: routes});
1.4m articles
1.4m replys
5 comments
57.0k users