0.0.2 • Published 6 years ago
@nuage/react-route-lazy v0.0.2
方便的使用懒加载
import LazyRoute from '@nuage/react-lazy-route';
import Home from './Home';
<Router>
<LazyRoute exact path="/home/*" component={Home} />
</Router>;
import LazyRoute from '@nuage/react-lazy-route';
import Home from './Home';
<Router>
<LazyRoute exact path="/home/*" component={Home} />
</Router>;