基于vue-cli的vue项目之路由1--最基本的使用

代码以下,下面是嘴简单的基础搭配:html 1.第一个子页面 ./components/hello.vuevue <template> <div class="hello"> <h1>这个是hello页面</h1> <h2></h2> </div> </template> <script> export default { name: 'hello', data() {
相关文章
相关标签/搜索