4
4

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初期設定メモ

Last updated at Posted at 2018-11-11

コマンド

$ npx create-nuxt-app <project-name>

現在いるフォルダにproject-nameのフォルダを作成する

nuxtインストール時の項目

? Project name プロジェクトネーム
? Project description My first-class Nuxt.js project
? Use a custom server framework none
? Use a custom UI framework bootstrap
? Choose rendering mode Universal
? Use axios module yes
? Use eslint no
? Use prettier no
? Author name you88
? Choose a package manager npm

Use a custom server framework

サーバーサイドのフレームワークを選択します:
None (Nuxt default server)
Express
Koa
Hapi
Feathers
Micro
Adonis (WIP)

バックエンド側のフレームワークを選べる。ただクライアント側をnuxtで作りたいときはnone。

Choose rendering mode

Universalとspaがあり、それぞれ下記の設定。

spa

クライアントサイドのみ開発したいときに使う

Universal

サーバーサイドもnuxtで書きたいときに使う

Use axios module

AxiosはAjaxリクエストを送るためのpromiseベースのHTTPクライアント。

4
4
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
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?