https://github.com/enjoyfuture/weus
A cli for React Boilerplate containing Webpack, React, Redux, Router, Immutable, etc.
https://github.com/enjoyfuture/weus
react redux router webpack
Last synced: 5 months ago
JSON representation
A cli for React Boilerplate containing Webpack, React, Redux, Router, Immutable, etc.
- Host: GitHub
- URL: https://github.com/enjoyfuture/weus
- Owner: enjoyfuture
- License: mit
- Created: 2017-06-23T05:43:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-02T03:25:19.000Z (over 4 years ago)
- Last Synced: 2025-11-27T12:14:59.545Z (7 months ago)
- Topics: react, redux, router, webpack
- Language: JavaScript
- Size: 64.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# weus
A Comprehensive Guide for generator web platform. The following are assets.
* React Boilerplate containing Webpack, Gulp, React, Redux, Router, Immutable, etc.
* 基于 fis3 jQuery KnockoutJS RequireJS 搭建的前端开发框架,支持 ie7+
## Installation
First, install weus using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
```bash
npm install -g @weus/cli
```
Then generate your new project:
```bash
mkdir demo
cd demo
# 在当前目录下创建工程
weus init
# 在新的目录中创建工程
weus init projectName
```
## Install Dependencies
```bash
cd projectName # 如果执行了命令 weus init projectName
npm install
```
## Generate your module
```
weusg moduleName
```
Note: First, Assets support custom to create the module.
The "moduleName" is you enter module name.
After exec this command, it will create "react component", "redux action", and "redux reducer" etc.
for "react-redux-router-base" asset.
## Other Command
* `weus info ` 查看指定基础框架信息
* `weus list` 查看所有基础框架信息
* `weus search [options]` 根据给定的信息搜索基础框架信息
## Weus assets
You can view [ths weus assets](./assets.json).
## Help and Version
```bash
weus -v // Check CLI version
weus --help // Get help and check usage
```
## Weus Development
## development
```
npm run watch
```
### build
```
npm run build
```
### npm publish
```
npm publish
```
## Change Log
[Change Log](./CHANGELOG.md)
## Reference
* https://github.com/nowa-webpack/nowa
* http://mern.io/