fire-nav

统一的路由系统,提供一套路由系统的统一api,便于在各类项目中进行移植。

Usage no npm install needed!

<script type="module">
  import fireNav from 'https://cdn.skypack.dev/fire-nav';
</script>

README

fire-nav

统一的路由系统,提供一套路由系统的统一api,便于在各类项目中进行移植。

react-native的安装和使用

安装

yarn add fire-nav react-native-fire-nav

初始化

import Nav from 'fire-nav';
import RNNav from 'react-native-fire-nav';

const store = ...你的Reduxstore

Nav.setAdatper(new RNNav( store ));

h5的安装和使用

安装

yarn add fire-nav h5-fire-nav

初始化