饮水思源:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=99&spm_id_from=pageDriver
①创建项目
vue create vue-github-example
启动调试:
cd vue-github-example
npm run serve
用谷歌浏览器访问相应链接,笔记本用FN+F12启动开发者模式。修改App.vue,删去HelloWorld.vue等文件。
<template> <h1>hello</h1> </template> <script> export default { name: 'App', components: { } } </script> <style> </style>