/plume2-starter

plume2项目骨架

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

plume2 starter

1.git clone https://github.com/hufeng/plume2-starter.git

2.cd plume2-starter

3.npm install

4.npm run start      查看demo app  带路由 UI webapi 复杂功能演示

5.npm run hello      查看hello app 简单preact 和plume2 功能演示

6.npm run build:all  发布到dist

7.http://127.0.0.1:3000 

demo GIF

Aaron Swartz Aaron Swartz

plume2-starter demo  项目依赖RE

1.plume2                Simple, props state management

2.preact preact-compat  Preact is a fast, 3kB alternative to React, with the same ES2015 API.

3.react-router          Router

4.ui react-toolbox      UI

5.postcss               css

6.classnames            A simple javascript utility for conditionally joining classNames                                                    together. 

项目目录
├── favicon.ico
├── index.ejs
├── app
├──├── hello
│  │   ├── actor
│  │   │   ├── counter-actor.ts
│  │   │   └── hello-actor.ts
│  │   ├── component
│  │   │   ├── colors.css
│  │   │   ├── text.css
│  │   │   └── text.tsx
│  │   ├── index.tsx
│  │   ├── store.ts
│  └── └── webapi.ts
└── dist
├── node_modules
├── package.json
├── postcss.config.js
├── tsconfig.json
├── typings
├── webpack.config.js
├── webpack.dll.config.js
├── webpack.production.js
└── yarn.lock