id | title | sidebar_label |
---|---|---|
web |
Web Platform |
Web |
- Supports Chrome, Safari, Firefox, IE10+
Extension | Type | Priority |
---|---|---|
browser.js |
form factor |
1 |
web.js |
platform |
2 |
js |
fallback |
3 |
tsx |
fallback |
4 |
ts |
fallback |
5 |
- no extra requirements required
Feature | Version |
---|---|
Webpack | 3.11.0 |
react-native-web | 0.9.1 |
Babel Core | 7.1.2 |
rnv run -p web
RNV will run local server and attempt to open browser URL: http://0.0.0.0:8080/
If you only want to run server:
rnv start -p web
rnv build -p web
your deployable web app folder will be located in ./platformBuilds/<APP_ID>_web/public
Clean and Re-build platform project
rnv run -p web -r
Run with verbose logging:
rnv run -p web --info
Run app on custom port 9999
:
rnv run -p web --port 9999
In order for you to do that you'll need to run the project first, so it generates the files you need first. Then you can copy platformBuilds/_shared/template.js
to platformConfig/builds/_shared/template.js
and modify it. If platformConfig
or other folders do not exist manually create them.