Warm tip: This article is reproduced from serverfault.com, please click

angularjs-有什么简单的方法可以在Vue-cli中创建新组件?

(angularjs - Is there any easy way to create new components in the Vue-cli?)

发布于 2018-04-08 20:20:28

我找不到使用Vue-cli创建新组件的任何简便方法。我来自Angular,在那里可以键入文字,ng g c "component name"这样就可以完成工作。

有谁知道像 Angular cli这样简单的方法吗?

Questioner
user7767606
Viewed
0
Amin Rashidbeigi 2018-04-09 04:39:23

我猜vue-cli还没有组件创建者命令。你可以使用vue-generate-component