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

How can I remove router hash? #67

Closed
cemarguvanli opened this issue Oct 16, 2016 · 1 comment
Closed

How can I remove router hash? #67

cemarguvanli opened this issue Oct 16, 2016 · 1 comment

Comments

@cemarguvanli
Copy link

const createHistory = process.env.NODE_ENV === 'production' ? createHashHistory : createBrowserHistory

on the localhost everything is fine but when getting a build then "#/?_t"

how can I fix this?

Thanks!

@mattdell
Copy link

@cemarguvanli, just remove the ternary.

const createHistory = createBrowserHistory

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

2 participants