Youmenomi / nuxt-typescript-starter

TypeScript Support for Nuxt.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuxt-typescript-starter Build Status

This boilerplate built with Nuxt.js showcasing how to add TypeScript support. It features integrations with ESLint (linting), Prettier (code formatting), Jest (testing), Axios (http calls on steroids), PWA (Progressive Web App) and Automatically run eslint and jest before git commit.

  • View intergration details from git history.
  • Use create-nuxt-ts-app cli to create your own project.

Quick Start

# Clone the repo
git clone https://github.com/Youmenomi/nuxt-typescript-starter.git

cd nuxt-typescript-starter
# 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

Typescript Support

  • Nuxt (Vue)
  • Jest
  • lint-staged

VSCode

Prerequisites

Autofix and format codes on save

Custom eslint rule in prettier

Resources

About

TypeScript Support for Nuxt.js

License:MIT License


Languages

Language:Vue 59.9%Language:TypeScript 26.5%Language:JavaScript 13.6%