https://github.com/bkwld/nuxt-coffeescript-module
Adds Coffeescript support to your Nuxt app
https://github.com/bkwld/nuxt-coffeescript-module
coffeescript nuxt
Last synced: 11 months ago
JSON representation
Adds Coffeescript support to your Nuxt app
- Host: GitHub
- URL: https://github.com/bkwld/nuxt-coffeescript-module
- Owner: BKWLD
- License: mit
- Created: 2018-07-13T18:34:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-09T00:19:03.000Z (over 3 years ago)
- Last Synced: 2024-11-15T19:44:08.527Z (over 1 year ago)
- Topics: coffeescript, nuxt
- Language: JavaScript
- Size: 12.7 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nuxt-coffeescript-module
Adds Coffeescript support to your Nuxt 1.x app. This is based on the [official Nuxt example](https://github.com/nuxt/nuxt.js/blob/dev/examples/coffeescript/modules/coffeescript.js).
## Install
1. `yarn add nuxt-coffeescript-module`
2. In `nuxt.config.js`:
```js
{
modules: [ 'nuxt-coffeescript-module' ]
}
```
## Notes
Btw, if you want to write your `nuxt.config.js` in coffeescript, what I've been doing is making my `nuxt.config.js` just:
```js
require('coffeescript/register')
module.exports = require('./nuxt.config.coffee')
```
And then exporting the real config from `nuxt.config.coffee`.