LoginSignup
2
0

More than 3 years have passed since last update.

Vueでhello worldまで

Posted at

Vueでhello worldするまでの手順メモ
今回はvue-cliを用いてvue3系で行う

vue-cliのインストール

以下のコマンドでインストールすると3系が入る
npmがインストールされていない場合は別途インストール

npm install -g @vue/cli

プロジェクト作成

vue create test-app

途中での選択はdefaultにした

サーバー起動

cd test-app
npm run serve

画面表示してみる

以下の表示が出たらブラウザへ


  App running at:
  - Local:   http://localhost:8080/

  Note that the development build is not optimized.
  To create a production build, run npm run build.

http://localhost:8080/にアクセスして、この画面が表示されていたらOK!
スクリーンショット 2019-08-14 22.31.00.png

2
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
2
0