https://github.com/leozdgao/hello-rax
https://github.com/leozdgao/hello-rax
rax weex
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leozdgao/hello-rax
- Owner: leozdgao
- Created: 2017-02-25T17:10:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-26T08:47:35.000Z (over 9 years ago)
- Last Synced: 2025-03-13T05:32:10.229Z (over 1 year ago)
- Topics: rax, weex
- Language: JavaScript
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rax-starter-kit
## Getting Started
### `npm run start`
Runs the app in development mode.
Open [http://localhost:8080](http://localhost:8080) to view it in the browser.
The page will reload if you make edits.
### `npm run lint`
You will see the lint errors in the console.
### `npm run build`
Builds the app for production to the `build` folder.
## Universal "Gotchas"
- DOM & DOM like **`window`** & **`document`** do not exist on the server - so using them, or any library that uses them (jQuery for example) will not work.
- If you need to use them, consider limiting them to wrapping them situationally with the imported *isWeb / isNode / isWeex* features from Universal. `import {isWeb, isWeex, isNode} from 'universal-env'`;