gmi-web
v0.2.8
Published
Auto Build Website Program
Readme
install
``` npm install -g gmi-webstart <project_name>
``` gmi-web start <project_name> && cd <project_name>install babel-loader package
``` npm install or yarn installrun
``` gmi-web servepage
``` gmi-web page pagename (create relating page's file but need to import to main.scss yourself)build
``` gmi-web buildlocalhost
``` gmi-web localhost 8080 (open a server bases in current directory)suport
``` Mac\Windows\Linuxcontact
``` [email protected]brief document
1. src/assets -> dist/assets (watch supported)
2. src/js -> dist/js (webpack build && watch supported)
3. src/lib -> dist/lib (watch supported)
4. src/pages -> dist (watch supported && root directory)
5. src/scss/pages/main.scss -> dist/css/style.min.css (watch supported && so all of your scss file needed to be imported into 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.