@bluebeel/nuxt
now-nuxt
A Now v2 Nuxt builder.
Usage
Add it to your now.json as:
{
"builds": [
{ "src": "nuxt.config.js", "use": "@bluebeel/nuxt" }
]
}
You have to modify your nuxt.config.js file and customize the build property
build: {
filenames: {
app: '[name].js',
chunk: '[name].js'
}
}
And don't forget to change the way the configuration is returned. The default nuxt.config.js is
export default {
...
}
Change it to
module.exports = () => {
return { ... }
}
Example
Simple: https://nuxtjs-v2.now.sh/
Repository of the example.
Hackernews: https://nuxtjs-news-v2.now.sh
Repository of the example.
Version History
| Version | Released | License |
|---|---|---|
| 0.1.0 | ||
| 0.0.16 | ||
| 0.0.15 | ||
| 0.0.14 | ||
| 0.0.13 | ||
| 0.0.12 | ||
| 0.0.11 | ||
| 0.0.10 | ||
| 0.0.9 | ||
| 0.0.8 | ||
| 0.0.7 | ||
| 0.0.6 | ||
| 0.0.5 | ||
| 0.0.4 | ||
| 0.0.3 | ||
| 0.0.2 | ||
| 0.0.1 |