Skip to content

v8: Custom route paths problem? #1564

Answered by Stiropor
Stiropor asked this question in Q&A
Discussion options

You must be logged in to vote

For anyone having same issue, this is the solution that works now (also for modules, name attribute somehow doesn't work anymoe, path from nuxt.hook('pages:extend', ...) has to be used now):

	news: {
		en: '/news',
		sl: '/novice'
	},
	'news/:slug': {
		en: '/news/:slug',
		sl: '/novice/:slug'
	},
	'category/:slug': {
		en: '/category/:slug',
		sl: '/kategorija/:slug'
	}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Stiropor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
1 participant