PAX

JS Framework

Micro Javascript Framework + Router

*Only 17kb


Install

Via NPM

npm install pax-js-framework

Via Html

Download the source files from Github @ https://github.com/paxagency/PAX-JS-FRAMEWORK


<!DOCTYPE html>
<html>
    <head>
        <title>Website</title>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
   		<script src="dist/pax.js"></script>
    </head>

Getting Started

The "app" attribute is tied to the app object.


 <div app="home">
	{{this.title}}
 </div>
	
 <script>
    //FIRST APP
    app.home = {
        data:{
        	title:"Hello World"	
        }
    }
 </script> 


Questions? Drop me a line @ hello@paxgency.com : )