i have a React + Redux app, i want to link to a privacy.html page which is a static html file in the root of the project along side with index.html which is the react app.
The problem is that the link to /privacy.html
is caught by the <Route path='*' ponent={NotFoundView} />
Is there a work around for this?
i have a React + Redux app, i want to link to a privacy.html page which is a static html file in the root of the project along side with index.html which is the react app.
The problem is that the link to /privacy.html
is caught by the <Route path='*' ponent={NotFoundView} />
Is there a work around for this?
Share Improve this question asked Dec 29, 2015 at 9:52 IsrahackIsrahack 4792 gold badges7 silver badges15 bronze badges1 Answer
Reset to default 8Don't use Link
for pages outside of your app. Simply use a standard <a>
tag.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744272134a4566151.html
评论列表(0条)