Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chanlito/nuxt-ts-module

A tiny module to use Typescript within Nuxt.js application.
https://github.com/chanlito/nuxt-ts-module

module nuxt nuxt-module nuxtjs ts typescript

Last synced: about 4 hours ago
JSON representation

A tiny module to use Typescript within Nuxt.js application.

Awesome Lists containing this project

README

        

# Nuxt Typescript Module

[![npm](https://img.shields.io/npm/v/nuxt-ts-module.svg)](https://www.npmjs.com/package/nuxt-ts-module)
[![npm](https://img.shields.io/npm/dt/nuxt-ts-module.svg)](https://www.npmjs.com/package/nuxt-ts-module)
[![Build Status](https://travis-ci.org/chanlito/nuxt-ts-module.svg?branch=master)](https://travis-ci.org/chanlito/nuxt-ts-module)
[![Coverage Status](https://coveralls.io/repos/github/chanlito/nuxt-ts-module/badge.svg?branch=master)](https://coveralls.io/github/chanlito/nuxt-ts-module?branch=master)

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.

```bash
npm install nuxt-ts-module
```

## Usage

- inside `nuxt.config.js`

```js
{
// ...
modules: ['nuxt-ts-module'],
// ...
}
```

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

## LICENSE

MIT