Help us understand the problem. What is going on with this article?

【Nuxt.js】create-nuxt-appでNuxt.js(v2.0.0)を始める

More than 1 year has passed since last update.

まったく真っ白の状態からNuxt.jsで作ったサンプルアプリを動かすまでの記録です。

1. yarnのinstall

🚀$ brew install yarn

2. create-nuxt-appのinstall

Nuxt.jsのプロジェクトを対話形式で作成できるコマンドラインツールです。
https://github.com/nuxt-community/create-nuxt-app

サーバサイドとUIのframeworkを選べたり、最初からaxiosESLintをガッと入れてくれます。大変たすかる。
image.png
🚀$ yarn global add create-nuxt-app
image.png

3. Nuxt.jsプロジェクトの作成

🚀$ create-nuxt-app NuxtSample
image.png

4. Nuxt.jsプロジェクトの起動

🚀$ cd NuxtSample
🚀$ yarn run dev
image.png

🚀ブラウザでhttp://127.0.0.1:3000/にアクセス
スクリーンショット 2018-09-27 16.01.15.png

Nuxtのバージョンも2.0.0になっています。
スクリーンショット 2018-09-27 16.13.29.png

まとめ

Nuxt.jsプロジェクトの開発はcreate-nuxt-appで爆速スタート!!🚀

参考リンク

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away