Get started
papeljs is a lightweight and easy-to-use JavaScript library that lets you manage layouts and partial pages using just HTML files. It runs entirely on the client side, so no server is needed.
Installation
To start using papeljs, you can choose one of the following methods:
1. Download and Include Locally Download the latest version of papeljs and add it to your project. Then include it in your index.html file:
<html>
<head>
<script src="papel.js" defer></script>
</head>
...
2. Use the CDN For a quicker setup, include papeljs directly from the CDN: https://cdn.jsdelivr.net/gh/jecovier/papeljs/dist/papel.js
<html>
<head>
<script
src="https://cdn.jsdelivr.net/gh/jecovier/papeljs/dist/papel.js"
defer
></script>
</head>
...