'Nuxt static site publishing
$ npm run generate I want to publish the generated nuxt / dist folder as a static site. Even if I place the contents of the folder directly under / var / www / html, I get a 404 error when I try to move from the index.html page to another page. I checked the directory and found that the file exists correctly. Is there a problem if I just place the contents of the generated dist folder directly under / var / www / html?
Server Ubuntu20.04 Nginx
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
