Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/chanlito/nuxt-ts-module
- Owner: chanlito
- License: mit
- Created: 2018-04-26T09:53:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-29T06:26:17.000Z (almost 6 years ago)
- Last Synced: 2024-04-25T18:03:02.749Z (7 months ago)
- Topics: module, nuxt, nuxt-module, nuxtjs, ts, typescript
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 22
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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