Installation¶
KEML is designed to be ultra simple to use — there is no programmatic API, no JavaScript exports, and no setup or configuration required.
First, install the official KEML extension from the VS Code Marketplace if you haven't already.
Then, simply include the library via CDN in your HTML:
1 |
|
Alternatively, if you prefer to manage dependencies locally or bundle KEML with your project, install it using npm:
1 |
|
The compiled bundle, keml.js
, will be available at the root of the installed
package.
Using KEML with Other Libraries and Frameworks¶
KEML automatically observes all DOM changes, so you don’t need to do anything special to integrate it with your app.
Whenever your application dynamically creates or updates elements, KEML will seamlessly handle them just like elements rendered on the server.
This makes KEML compatible with virtually any front-end framework or custom JavaScript code, without any extra setup.