Reputation: 812
I am working on some static pages using Nuxt.js (MPA). Whenever I run the generate
command, all <nuxt-link>
URLs start from root, i.e /
. For example, my structure is:
pages
|
- index.vue
- policy.vue
And in index.vue
I have linked policy page as:
<nuxt-link to="policy.html"> Policy </nuxt-link>
which results in /policy.html
instead of policy.html
.
Upvotes: 1
Views: 3941