Phacil-JS Framework A super easy JavaScript Framework for web development!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
650 B

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/3.0.1/mustache.min.js"></script>
<script src="phacil.js"></script>
</head>
<body>
<replace route="common/home/uma"></replace>
</body>
<script>
let phacil = new Phacil();
phacil.registry.set('database', new DB());
phacil.registry.set('config', new config());
phacil.route('common/home');
</script>
</html>