1.安装 npm install -g @vue/cli
2.vue create xxxx
3.runtime-only/ runtime-compiler 一般项目选择runtime only
// @ is an alias to /src import HelloWorld from '@/components/HelloWorld.vue'
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3