nuxt-coffeescript-module
v2.4.0
Published
Adds Coffeescript support to your Nuxt app
Downloads
224
Readme
nuxt-coffeescript-module
Adds Coffeescript support to your Nuxt 1.x app. This is based on the official Nuxt example.
Install
yarn add nuxt-coffeescript-module
In
nuxt.config.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:
require('coffeescript/register')
module.exports = require('./nuxt.config.coffee')
And then exporting the real config from nuxt.config.coffee
.