注意:(我认为)我正在成为Vue的新手
嗨,我有项目fullstack laravel&vue,如果我要构建/监视,则在目录/ public中,我发现这样的异常情况:
> Part of folder structure:
...
...
config/
node_modules/
public/
|-- index.js // this my vue index file
|-- 0.js // this my page of index file
|-- 1.js // and this too
|-- favicon.ico
|-- mix-manifest.json
resoures/
...
...
我的Vue路线:
{
root: 'account',
base: 'account',
mode: 'history',
routes:[
{
name: 'Login',
path: '/',
component: () => import(
'./pages/login')
},
{
name: 'Activation',
path: '/activation',
component: () => import('./pages/activation')
}
]
}
问题:我可以配置将0.js和1.js的名称和目录更改为pages / login.js和pages / activation.js吗?