12
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Nuxt.js v2.0.0 インストールしてみた

Posted at

Nuxt.js v2.0.0 のインストール

2018年9月21日にNuxt.js v2.0.0がリリースされたのでインストールしてみた。

ターミナルで以下を実行

$ npx create-nuxt-app <my-project>
? Project name 
? Project description
? Use a custom server framework 
? Use a custom UI framework 
? Choose rendering mode 
? Use axios module 
? Use eslint 
? Author name 
? Choose a package manager 



$ cd <my-project>
$ npm run dev

npx

npmのバージョン5.2.0以上で使用可能。
npmをインストール済みであれば個別インストールは不要。

create-nuxt-app

構成を選びながら簡単にNuxt.jsアプリケーションを作ることができる。

create-nuxt-appで選ぶ構成

・Use a custom server framework:サーバーフレームワークを選択
 選択できるのは以下の7つ
 none / express / koa / adonis / hapi / feathers / micro

・Use a custom UI framework: UIフレームワークを選択
 選択できるのは以下の7つ
 none / bootstrap / vuetify / bulma
 / tailwind / element-ui / buefy

localhost:3000で表示

http://localhost:3000
起動できた。
nuxt2-test.png

12
3
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
12
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?