Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (35 loc) · 987 Bytes

README.md

File metadata and controls

47 lines (35 loc) · 987 Bytes

Nuxt Typescript Module

npm npm Build Status Coverage Status

A tiny module to use Typescript within Nuxt 2.

UPDATE: If you're using nuxt v2.4+ you don't need this module anymore.

Setup

  • Install the module.
npm install nuxt-ts-module

Usage

  • inside nuxt.config.js
{
  // ...
  modules: ['nuxt-ts-module'],
  // ...
}
// or with some options
{
  // ...
  modules: ['nuxt-ts-module'],
  typescript: {
    tsconfig,
    tslint
  },
  // ...
}

LICENSE

MIT