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
- Host: GitHub
- URL: https://github.com/chowa/cwhtml-demo
- Owner: chowa
- Created: 2020-02-10T17:18:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-10T17:25:53.000Z (about 5 years ago)
- Last Synced: 2025-01-24T12:45:29.776Z (3 months ago)
- Topics: cwhtml, demo, dev-tool, fe, module, sass
- Language: CSS
- Size: 150 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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
```