1.直接在pages文件底下去新增页面
2.去查看.nuxt底下的路由router.js,可以在浏览器地址输入,得到对应的显示

routes: [{
    path: "/autoindex",
    component: _14ea0b46,
    name: "autoindex"
  }, {
    path: "/",
    component: _43ae942c,
    name: "index"
  }],

地址栏输入
http://localhost:3000/autoindex

相关文章: