Reactive Javascript Framework
<script type="importmap"> { "imports": { "jolt": "https://cdn.jsdelivr.net/gh/electrikmilk/jolt/dist/jolt.min.js" } } </script>
import * as Jolt from 'jolt'; Jolt.create({ // ... });
Learn more usage from the documentation.
Jolt is not only written in TypeScript, but in multiple files and directories in
/src/
to keep development organized. Therefore, it must be combined and compiled.
Combine source to create build/jolt.ts
:
php jolt mix
Compile to create build/jolt.js
:
php jolt build
Compile and minify to create build/jolt.min.js
:
php jolt build prod
Any of these commands will create a /build/
directory.