An open API service indexing awesome lists of open source software.

https://github.com/chowa/cwhtml-demo

Demo of cwhtml project
https://github.com/chowa/cwhtml-demo

cwhtml demo dev-tool fe module sass

Last synced: about 1 month ago
JSON representation

Demo of cwhtml project

Awesome Lists containing this project

README

        



# Demo of cwhtml project

[document](https://github.com/chowa/cwhtml)

## Directory rules

```
cwhtml-project
|
|-- dist
|
|-- src
| |-- component
| | |-- header /* auto import style and js */
| | | |-- index.tpl
| | | |-- index.scss
| | | |-- index.js
| |
| |-- data /* page render data */
| | |-- index.js
| |
| |-- image
| | |-- banner.png
| |
| |-- sprite
| | |-- index
| | | |-- icon.png
| |
| |-- layout
| | |-- common.tpl
| |
| |-- page /* entry */
| | |-- index.tpl
| |
| |-- script
| | |-- index.js
| |
| |-- style
| | |-- index.scss /* free choice css sass */
| |
| |-- favicon.ico
```

## Usage

### build

```
cwhtml build
```

### development

```
cwhtml dev
```