Why ssr loading other pages' js?
For example:
aaa/aaa.vue
besides index.vue
.npm run build
and npm start
.localhost:3000
and see the index page loads aaa.5533ed4181712d0a1331.js
.Can anyone help me with these questions? 1. Why should it load other pages' js? 2. Will it make many request when there are many pages? 3. How to stop it from loading these js?
Thank you.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1478">#c1478</a>)</em></sub></div>