Skip to content

hogle-javascript/treeview-example

 
 

Repository files navigation

Tree view example

Example of a tree view component using React.js.

Details about it can be found in this article.

A running example can be seen at

http://www.rmemoria.com/download/blog/examples/treeview/index.html

Dependencies

TreeView component has the following dependencies:

Deployment

  • Font awesome - Displaying of the collapse/expanded/leaf icons;
  • React - Obviously, depends on react.js;

Development

Directory structure

  • app - TreeView source code and example page;
  • build - Example HTML page to display the tree view examples;
  • server - Simple HTML server to develop and run the tree view;

Running the example application

To run the example application, it is necessary to generate the final java script source and execute it under a web server. It can be done issuing the following command:

npm run dev

If no error occurs, open the following URL in a web browser:

http://localhost:4000/index.html

It uses webpack dev server, so any change in the source code will be automatically updated in the browser window.

You may also use

npm run build

To build the final source code inside the build folder.

Release history

version 0.0.1 - First release in dec 2015;

About

Tree view component using React.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.5%
  • HTML 4.1%
  • CSS 2.4%