Fix redirect from homepage and improve navigation
This commit is contained in:
parent
1694c4a890
commit
29dace6fc8
|
|
@ -19,6 +19,7 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
routeRules: {
|
routeRules: {
|
||||||
|
'/': { redirect: '/pieces' },
|
||||||
'/hdp': { redirect: '/a_history_of_the_domino_problem' },
|
'/hdp': { redirect: '/a_history_of_the_domino_problem' },
|
||||||
|
|
||||||
// Default: prerender all routes (static HTML)
|
// Default: prerender all routes (static HTML)
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
await navigateTo('/pieces', { replace: true })
|
navigateTo('/pieces')
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue