Я пытаюсь следовать https://alligator.io/vuejs/demistifying-vue-webpack/. Исходя из этого я попробовал:
$ vue init webpack-simple demistify-project
Command vue init requires a global addon to be installed.
Please run yarn global add @vue/cli-init and try again.
Итак, я попробовал:
$ yarn global add @vue/cli-init
yarn global v1.12.3
[1/4] Resolving packages...
warning @vue/cli-init > vue-cli > coffee-script@1.12.7: CoffeeScript on NPM
has moved to "coffeescript" (no hyphen)
warning @vue/cli-init > vue-cli > metalsmith > gray-matter > coffee-
s cript@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning "@vue/cli-init@3.2.0" has no binaries
Done in 15.69s.
, то:
$ vue init webpack-simple demistify-project
Command vue init requires a global addon to be installed.
Please run yarn global add @vue/cli-init and try again.
Как мне заставить это работать?