warflash
Explore posts from serversDistinct entry js files for certain routes
Wondering if someone has an idea on how to generate different entry files for certain routes. I have a route that is specifically only used to be embedded as an tooltip/iframe but the entry file ships with all of the js used on other routes as well.
1 replies
How to Minimal JS + prevent preloads
Hey, we have a route that's only used to be embedded in other sites using an iframe with no interactivity at all. Is there a way to disable js preloading etc. for certain routes only? We want to avoid loading and mounting our entire app when all that's needed and visible is one component.
Here is an example of what it should look like: https://bdolytics.com/en/EU/tooltip/item/721003
If you check the dev-tools it loads a ton of files while the server rendered html + fonts + simple logic onMounted() would be plenty.
Appreciate any insight!
1 replies