Skip to content

JacobGardos/nuxt-typescript-template

Repository files navigation

Nuxt TypeScript starter template

A Nuxt.js + @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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages