sFront

sFront: simple Front-end

sFront is a component-based, front-end, JavaScript library. Make templating easier.

sFront strives for easy integration, simplicity, and understandable syntax.


Inspired by React.


Installation

  1. Create a new JavaScript (.js) file which you will use for interacting with sFront
  2. Inlcude this file in your HTML (.html/.htm) file using a <script> tag
  3. Ensure that the <script> tag has the type attribute set to module (i.e. <script type="module" src="..."></script>)

Integration

In your JavaScript (.js) file, either:

Examples

Examples of how to use sFront can be seen in the examples folder of the GitHub repository. The contacts list example shows the perfect way to easily use templates with sFront.