Does SPA have a way to determine the current route in index.html?

the younger brother of this project uses the vue bucket to make a single-page application.
now wants to render a skeleton of the current page before the app.js is loaded.
but the ui of each page is not exactly the same.

I would like to ask:
before webpack build is loaded into index.html (before the app.js file is loaded), is it completely impossible to get an accurate path to enter the route to determine what the current page is?

if you say the home page, do you judge whether the user entered from the home page ("/ "aboutus" page) instead of anything else (like" / aboutus" page) at all?

I don"t know if there is a plug-in for webpack that can handle this place.
is there a god who has similar experience in fire fighting

or experience of using prerender can be shared with younger brother

May.13,2021

can, in fact, location.path, can get


idea is probably to pack another skeleton screen js file, directly add to html, this can determine the path


can. All the routing information is in location.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e944ba-14c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e944ba-14c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?