Skip to content

fooling around with deno and web-components. Backing up in case my laptop fails.

License

Notifications You must be signed in to change notification settings

mikebelanger/webcomponents-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webcomponents-deno

fooling around with deno and web-components. Backing up in case my laptop fails.

this runs using Deno. Get that installed, clone this repo.

Both server and client-side JS are compiled using Deno.

To compile the client-side stuff, do:

deno bundle --config ./web_components.json src/main.ts js/main.js --watch

To run the server, do:

deno run --config ./server.json --allow-net --allow-read server.ts

Then open a browser to localhost:8000. You could even have both running in two different terminals, and the changes should take effect ever time you save the client-side stuff, and then refresh the browser.

Tested with latest (v.deno 1.21.0). Look in server.json/web_components.json for more compilation options. Cheers

About

fooling around with deno and web-components. Backing up in case my laptop fails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published