mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Render DivJson inside browser without build
Install the packages first:
npm сi
To work, these 2 files are included in the page:
@divkitframework/divkit/dist/client.css@divkitframework/divkit/dist/browser/client.js
Using these files, you can render DivJson as follows:
Ya.Divkit.render({
id: 'test',
target: element,
json: {}
});