Skip to content

chowa/cwhtml-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo of cwhtml project

document

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