DEPRECATED: This module is deprecated. For a thorough discussion, please read the following blog post about navigating in all platforms with react-navigation.
Follow instructions below to make StackNavigator, TabNavigator and DrawerNavigator work on web or try starter below.
https://github.com/agrcrobles/react-native-web-boilerplate
Install react-navigation
npm i --save react-navigation
Webpack configuration
module: {
rules: [
{
test: /\.js$/,
include: [
path.resolve(__dirname, '../node_modules/react-native-tab-view')
]
}
},
resolve: {
alias: {
'react-navigation': 'react-navigation/lib/react-navigation.js'
}
}
This is meant somehow as a solution to follow discussions from react-navigation and react-native-tab-view.
MIT