Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

omega-takai/NuxtStarter

Repository files navigation

NuxtStarter

DEPLOYMENT

My excellent Nuxt.js project

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

# generate static project for GitHub Pages
$ yarn generate:gh-pages

Use Create Nuxt App

Ref: create-nuxt-app

create-nuxt-app v2.15.0
✨  Generating Nuxt.js project in .
? Project name NuxtStarter
? Project description My excellent Nuxt.js project
? Author name Tomonari Takai
? Choose programming language TypeScript
? Choose the package manager Yarn
? Choose UI framework None
? Choose custom server framework None (Recommended)
? Choose the runtime for TypeScript @nuxt/typescript-runtime
? Choose Nuxt.js modules Axios, Progressive Web App (PWA) Support, DotEnv
? Choose linting tools ESLint, Prettier, Lint staged files, StyleLint
? Choose test framework Jest
? Choose rendering mode Universal (SSR)
? Choose development tools jsconfig.json (Recommended for VS Code)

References