Why do you use nuxt.js in vue? the first time the sub-route comes in is normal. As soon as the website is refreshed, it becomes document is not defined.

problem description

I created a child route and then jumped the rotor route. It was good to come in for the first time, but reported document is not defined

404

as soon as it was refreshed.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

 ?
Apr.05,2021

because the first jump is only because javascript modifies url, in the browser and does not generate a http request
but as soon as you refresh it, a http request is generated, while document exists only in the browser. The node server does not have the object document


have you solved this problem? I have encountered the same problem recently. It's caused by the plug-in. It hasn't been solved yet


have you solved this problem? I have encountered the same problem recently.

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-1b3baef-2b7fd.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-1b3baef-2b7fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?