Replies: 1 comment
-
Same dude 💀 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any page refresh in the
pnpm dev
development environment is normal.After I use
pnpm build
, the resultingdist
content run the build using php environmentUsing vite + react
I'm new to react, is it because of react single page?
When the browser accesses the
domain name
refreshes normally (the switching menu is normal), the browser refreshes thedomain name/about
and appears 404 (when accessing thedomain name/about
alone, it is also 404)The entry file looks like this, and the components are saved in/routes using (components) brackets:
Beta Was this translation helpful? Give feedback.
All reactions