0
点赞
收藏
分享

微信扫一扫

Vue3.x运行单个Vue组件

 

具体步骤

1、安装vue serve 的全局扩展

npm install -g @vue/cli-service-global

 

2、cd 到这个Test.vue的根目录

Vue3.x运行单个Vue组件_ide

 

3、通过如下命令运行

vue serve Test.vue

 

效果图:

Vue3.x运行单个Vue组件_html_02 

参考:​​https://cli.vuejs.org/zh/guide/prototyping.html​​


举报

相关推荐

0 条评论