Skip to content

Commit

Permalink
workaround index.html generate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed May 18, 2019
1 parent 97137d2 commit 624fddb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/kitchen-sink/nuxt.config.js
Expand Up @@ -29,5 +29,10 @@ module.exports = {
}
}
},
css: ['css/app.css']
css: ['css/app.css'],
hooks: {
'generate:extendRoutes'(routes) {
routes.splice(routes.findIndex(r => r.route === '/index.html'), 1)
}
}
}

0 comments on commit 624fddb

Please sign in to comment.