0.1.6 • Published 5 years ago

@dohomi/nuxt v0.1.6

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

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.

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago