I'm trying to make a build.
It's just like the instructions say:
yarn - yarn build - yarn buid.static
There are no errors in the terminal, in the dist/ folder appear:
dist/about/
dist/about/index.html
dist/about/q-data.json
dist/article/
dist/article/index.html
dist/article/q-data.json
dist/checklist/
dist/checklist/index.html
dist/checklist/q-data.json
dist/index.html
dist/q-data.json
dist/sitemap.xml
dist/404.html
When I copy all the contents of the folder to the webserver /var/www/html - only the main page opens, when trying to go to any section it gives 404 page, at the same time the path where the transition occurs /myserver-ip/checklist/authentication.
On the main page also does not work menu.
What is wrong? Are there any requirements for the webserver in this case?
On the local server, when I run 'yarn dev' everything works fine.
Hi all
Сan anyone help me?
I'm trying to make a build. It's just like the instructions say: yarn - yarn build - yarn buid.static
There are no errors in the terminal, in the dist/ folder appear: dist/about/ dist/about/index.html dist/about/q-data.json dist/article/ dist/article/index.html dist/article/q-data.json dist/checklist/ dist/checklist/index.html dist/checklist/q-data.json dist/index.html dist/q-data.json dist/sitemap.xml dist/404.html
When I copy all the contents of the folder to the webserver /var/www/html - only the main page opens, when trying to go to any section it gives 404 page, at the same time the path where the transition occurs /myserver-ip/checklist/authentication. On the main page also does not work menu.
What is wrong? Are there any requirements for the webserver in this case? On the local server, when I run 'yarn dev' everything works fine.
Thanks for your help!