Typescript Template Save

Typescript starter for Nuxt 2

Project README

Nuxt TypeScript starter template

A Nuxt 2 + @nuxt/typescript starter project template.

Setup

Create your repository by Use this template button from this template and clone into your local.

Then, run below command and follow its message.

./init.sh

The command will ask your preference for the API to write Vue component among:

  • Options API
  • Class API with with nuxt-property-decorator
  • Composition API (Experimental) with @nuxt/composition-api

Usage

Run Development server

npm run dev

Go to http://localhost:3000

Build/Run SSR enabled application

npm run build
npm start

Static Generation

Netlify Status

npm run generate #=> Then distribute /dist

FAQ

  • Q. How about providing sample usage of "xyz" (The name of OSS which you want to use)?
    • A. Recommend running into create-nuxt-app. This template aims to provide a minimal sample that follows the latest version of Nuxt.js and @nuxt/typescript.
  • Q. I think the usage of Vuex is not typed enough...?
    • A. We know! We desire the next major version of Vuex (v4) saves our bacon.

Miss the old way of this repository?

That still alives on master branch.

Open Source Agenda is not affiliated with "Typescript Template" Project. README Source: nuxt-community/typescript-template
Stars
642
Open Issues
13
Last Commit
1 week ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating