Skip to content

tsunematsu21/template-nuxt-ts-with-vscode-remote

Repository files navigation

template-nuxt-ts

LICENSE TEMPLATE

A template repository for Nuxt TypeScript.

Pre-requisites

When develop in container with VS Code :

When develop in local :

  • Node.js
    A JavaScript runtime.
  • Yarn
    A package manager for JavaScript.

Getting started

When develop in container with VS Code :

  • First, run the Remote-Containers: Open Folder in Container... command from VS Code Command Palette.

In either case :

  • Run the following command depending on the situation.
    # Install dependencies
    yarn install
    
    # Serve with hot reload at localhost:3000
    yarn dev
    
    # Lint check
    yarn lint
    
    # Build for production and launch server
    yarn build
    yarn start
    
    # Generate static project
    yarn generate