Deno and Eta browser-side?

Sorry if I'm missing something obvious, but how do I make Eta available from the browser? I import it for server-side work but don't know how to access it from browser-side js files. I tried a bunch of stuff but get errors about modules. Is there a recommended way or tool to bundle node_modules up with Deno? The docs have a ton about Svelte, React, etc., but I'm pretty vanilla.
5 Replies
Doctor 🤖
Doctor 🤖•3d ago
Eta?
Good Looking Software
Good Looking SoftwareOP•3d ago
a template library
Good Looking Software
Good Looking SoftwareOP•3d ago
Eta | Eta
Lighweight, powerful, pluggable embedded JS template engine
Good Looking Software
Good Looking SoftwareOP•3d ago
The instructions on this page work for Deno on the server, but I don't know how to use Eta client-side. It seems like I should be able to, but I'm wondering if there's a Deno-recommended way or if I need to use a bundler. https://eta.js.org/docs/
Quickstart | Eta
Install Eta
Leokuma
Leokuma•2d ago
Are you sure Eta works in the browser? I would guess it doesn't. But if it does, the maintainers might provide a bundle

Did you find this page helpful?