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 : DOM :
http://localhost:3000/ex1-dom/main.html
- Example 2 : router :
http://localhost:3000/ex2-router/main.html
- Example 3 : blog 1 :
http://localhost:3000/ex3-blog1/main.html
For the other demo, you should start the server inside the subfolder
$ cd web/ex4-blog2
$ node server
- Example 4 : blog 2 :
http://localhost:3000/ex4-blog2/main.html
$ cd web/ex5-blog3
$ node server
- Example 5 : blog 3 :
http://localhost:3000/ex5-blog3/main.html