Skip to content

Examples ​

Each example is a small app you can run. They install with the security scan on; the ones that need security.allow say so.

bash
cd examples/<name>
teloce-npm install
python app.py          # or: python -m http.server for the plain HTML example

Plain HTML, CSS and JavaScript ​

ExamplePackagesShows
plain-html-exampledayjs, chart.jsThree files and a static server, no Teloce. See the guide.

Teloce components ​

ExamplePackagesPortShows
dayjs-exampledayjs8768A UMD package
lodash-examplelodash8765A CommonJS package, computed values. Walkthrough
chart-examplechart.js8766Bundling with an npm dependency. Walkthrough
monaco-examplemonaco-editor8767An editor with workers, fonts and CSS
markdown-examplemarked, dompurify8769Two packages in one component, sanitized HTML
papaparse-examplepapaparse8770CSV to a table
fuse-examplefuse.js8771An ES-module-only package, fuzzy search
confetti-examplecanvas-confetti8772A function-style package
sortable-examplesortablejs8773Drag and drop
d3-exampled38774Dozens of transitive dependencies
three-examplethree8775A WebGL scene
highlight-examplehighlight.js8776A package with relative requires
supabase-example@supabase/supabase-js8777An .html component and a hosted database. Walkthrough

With Flaxon and SSR ​

The Flaxon and SSR pages are complete, tested walkthroughs. They build on Teloce-Py's and Flaxon's own examples.

Released under the MIT License.