router-module
router-module copied to clipboard
the css load order changes after using @nuxtjs/router
Hi, I met a problem. this is nuxt.config.js
export default {
//...
css:[
'@/assets/common.css',
]
}
when I use the default router of nuxt, it works, the common.css
is loaded before all the other style modules in apps and components.
but when I use @nuxtjs/router, the common.css
is loaded after all the other style modules.
how to load any common css file before build the routers?