LoginSignup
1
0

More than 5 years have passed since last update.

Vue CLIに関するすること(メモ)

Last updated at Posted at 2019-05-02

Vue-cliをするまで

https://qiita.com/567000/items/dde495d6a8ad1c25fa43

こちらのページがわかりやすかった。

https://techacademy.jp/magazine/16105

npmについても調べたページをメモ。

手順画像

1.VS Codeを開く
VS Code.jpg

2.ターミナルを開く(※コマンドプロンプトでもいいけどね)
Terminal.jpg

3.「cd (ファイルを保存するディレクトリ)」
cd.jpg

4.「vue create (プロジェクト名)」
vue create.jpg

※versionが古いと怒られる・・・

vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6.
You may want to run the following to upgrade to Vue CLI 3:
npm uninstall -g vue-cli
npm install -g @vue/cli

(意訳)
「『vue create』は3からのコマンドなのにお前の古いよ」
「下のコマンド打って上げろ」

ver.jpg

5.保存したディレクトリを開く
created.jpg

6.できてる!
directory.jpg

つづく

つづく

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0