Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

a path named /zh-CN/changes.html will generate out a file named /zh-CN/changes.html.html #41

Closed
airyland opened this issue Apr 28, 2017 · 0 comments

Comments

@airyland
Copy link

routes.push({
  path: '/zh-CN/changes.html',
  component: () => import('../zh-CN/changes.md')
})

I want to use extension .html for every page, so I add a route named /zh-CN/changes.html. It works fine in dev mode but then I get a /zh-CN/changes.html.html after ream generate.

Any workaround for this situation? or I will have to write a script for rewriting names 😅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant