we-vision
v1.0.11
Published
Cli helper for vision component creation and debugging
Downloads
3
Readme
Vision
React Component Build Helper
Description
Vision is created for developer to extract non-React component into React Component.
Install
git clone [email protected]:Vision/vision.git
npm link # may require sudo
OR
npm install we-vision -g
How to start
- create seed project
vision init [Component_Name]
Then, seed project will be created as following.
├── README.md
├── design
│ ├── index.html
│ └── scss
│ └── style.scss
├── demo
│ ├── index.html
│ ├── js
│ └── index.jsx
├── index.js
├── package.json
└── src
└── index.jsx
- put your non-react code into design dir
├── design
│ ├── index.html
│ └── style
│ └── style.scss
- dev start
- view design page
// [-p PORT] to use a custom port
vision design # project root dir
- view demo page (react component /jsx)
// [-p PORT] to use a custom port
vision start # project root dir
- edit code in src
└── src
└── index.js
TODO
Versions
- 0.1.0
- seed project create
- HMR in dev mode
- cli help info