Files
4eb0da 163b84dfe8 Json check
commit_hash:10a3c5dfdd683847ef54ab05c16ef2e1fc15f248
2026-05-11 13:09:17 +03:00
..
2022-08-26 03:52:29 +03:00
2022-08-26 03:52:29 +03:00
2026-05-11 13:09:17 +03:00
2026-05-11 13:09:17 +03:00
2022-08-26 03:52:29 +03: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: {}
});