Features
- When a dynamic route is created in a folder without
index.vue
, the parameter will be optional:
pages/
--| users/
-----| _id.vue
Will create the route /users/:id?
.
Improvements
nuxt.renderAndGetWindow(url)
does not needjsdom
as the first argument anymore, it will try to require it automatically (renderAndGetWindow is made to faciliate the tests with Nuxt.js)- Nuxt.js has now 100% of coverage
Bug fixes
- Fix
nuxt generate
minified HTML which was not working because of theremoveComments: true
option - Fix
nuxt generate
onvalidate({ query, params })
method -> not server-render it when not valid - Fix crash when children has no
data
method - Fix
validate()
call on children routes