B
B
blockso2020-11-23 09:31:18
Node.js
blockso, 2020-11-23 09:31:18

NUXT How to run statics on Wordpress and regular hosting?

There are statics generated by Nuxt. The structure consists of the main page and dynamic pages. Typing /test-page/ should output a template that outputs the text of the page.
Locally everything is ok. But the hosting has a problem with the dynamic route. When you enter such a link, everything after the slash is substituted into the link to the payload.js file, thus it becomes 404 and nothing is displayed as a result.
5fbb57598c0c0826197252.png
Please tell me how to solve the problem. Perhaps the static needs to be placed differently on WP in order to work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question