私はreact-routerに慣れています。私たちは何らかの変化に下記の反応-ルータを新しいルーティングページを変更するためのReact-routing設定の問題
module.exports = (
<Router history={HashHistory}>
<Route path="/" component={Frame}>
<IndexRoute component={Page1} />
<Route path="all" component={Page2} />
<Route path="admin" component={Page3} />
<Route path="proxy" component={Page4} />
</Route>
</Router>
);
を使用している現在のアプリで
は、今私は、ホームページとして別のページを作りたいだけでなく、現在の機能をunimpactする最小限の変更を行いたいです。下記のルータの設定を使用したが、問題を解決するために、これを探求する
<Router history={HashHistory}>
<Route path="/" component={Home}>
<Route path="achieve" component={Frame}>
<Route path ="achieve" component={Page1}>
<Route path="all" component={Page2} />
<Route path="admin" component={Page3} />
<Route path="proxy" component={Page4} />
</Route>
</Route>
</Route>
</Router>
どれポインタを動作していませんか?
ありがとうございます。
ありがとう@ mayank-shukla ...それは私のために働いた。どうもありがとう。 –