vue-cli3构建多页面应用

创建一个项目hello-world vue create hello-world cd hello-world npm run serve 在src目录下新建pages目录,在pages下新建页面 App.vue和main.js无用,可以删除,文件名对应着页面名   index.js import Vue from 'vue' import App from './index.vue' Vue.
相关文章
相关标签/搜索