Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 793 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 793 Bytes

install

``` npm install -g gmi-web

start <project_name>

``` gmi-web start <project_name> && cd <project_name>

install babel-loader package

``` npm install

run

``` gmi-web serve

build

``` gmi-web build

suport

``` Mac\Windows\Linux

brief document

1. src/assets -> dist/assets (watch support)
2. src/js -> dist/js (webpack build)
3. src/lib -> dist/lib (watch support)
4. src/pages -> dist (watch support && root directory)
5. src/scss/pages/main.scss -> dist/css/style.min.css (so all of your scss file needed to be import to main.scss file)
6. put all the dist file into your server, and open your browser.

notice

1. src/js/tool、src/js/pages、src/scss/pages/main.scss and src/pages/includes can't be deleted.