f6
v1.2.0
Published
ES6 Front-End Framework
Downloads
6
Readme
f6 -- ES6 Front-End Framework
Install
For node.js
$ npm install f6
For browser, download the f6.js file and link into your html.
Demo
$ git clone https://github.com/ccckmit/f6.git
$ cd f6
$ npm install --dev
$ npm start
The server started at http://localhost:3000/
, visiting the following page for demo program.
Example 1
- Example 1 : DOM :
http://localhost:3000/ex1-dom/main.html
Example 2
- Example 2 : router :
http://localhost:3000/ex2-router/main.html
Example 3
- Example 3 : blogInClient :
http://localhost:3000/ex3-blogInClient/main.html
For the other demo, you should start the server inside the subfolder
Example 4
$ cd web/ex4-blogInServer
$ node server
- Example 4 : blogInServer : `http://localhost:3000/
Example 5
$ cd web/ex5-blogInAjax
$ node server
- Example 5 : blogInAjax :
http://localhost:3000/ex5-blogInAjax/main.html
Example 6
$ cd web/ex6-upload
$ node server
- Example 6 : upload :
http://localhost:3000/ex6-upload/upload.html
Example 7
$ cd web/ex7-uploadAjax
$ node server
- Example 7 : uploadAjax :
http://localhost:3000/ex7-uploadAjax/upload.html
Example 8
$ cd web/ex8-blogInAjaxMongodb
$ node server
- Example 8 : blogInAjaxMongodb :
http://localhost:3000/ex8-blogInAjaxMongodb/main.html