Files
ad/molodetz/templates/docs/prose/frontend.md
T

8 lines
408 B
Markdown

# Frontend and components
ES6 modules, one class per file, no framework and no bundler. `Application.js` creates all singletons and sets `window.app`.
Components are custom elements with the `dp-` prefix, without shadow DOM. See the component pages in the sidebar.
Client rendering with marked and DOMPurify is only for live content: the preview in the editor. Published posts are rendered on the server.