LoginSignup
1
1

More than 3 years have passed since last update.

NuxtJS+TypeScriptの環境を爆速で作る

Posted at

備忘録。以前nuxtjs + typescript環境の構築に非常に時間がかかった。

が、こちらのnuxtコミュニティが提供するテンプレートを使用すると爆速で開発のボイラーが出来上がる。

Installation

$ npm install -g @vue/cli
$ npm install -g @vue/cli-init
$ vue init nuxt-community/typescript-template my-project
$ cd my-project
# install dependencies
$ npm install # Or yarn install

Usage

Development

$ npm run dev

http://localhost:3000

にアクセス。

Production

# build for production and launch the server
$ npm run build
$ npm start
1
1
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
1