Skip to content

v0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Atinux Atinux released this 07 Dec 18:43

Breaking Changes

  • The layouts has been moved to the layouts/ directory for better architecting. Which have to move your pages/_app.vue to layouts/app.vueand pages/_error.vue to layouts/error.vue
  • When used programmatically, you now have to call nuxt.build() because new Nuxt(options) is not launching anymore the build automatically.
const Nuxt = require('Nuxt')
const nuxt = new Nuxt(options)
nuxt.build()
.then(() => {
  app.use(nuxt.render)
})

Features

  • Add nuxt.renderAndGetWindow(jsdom, url) method to render the url and sent back the window object, useful for test purposes (see examples/with-ava/)

Examples