matrix-code-generator icon indicating copy to clipboard operation
matrix-code-generator copied to clipboard

Add Javascript dist and full demo to project repository

Open bfalchuk opened this issue 5 years ago • 5 comments

Any way to get a build and use with vanilla js (no npm)? (on win10 i get failure on "webpack-dev-server --mode development" )

bfalchuk avatar Jun 13 '20 18:06 bfalchuk

Do you have node and npm installed? Can you paste the full output?

mlathrom avatar Jun 13 '20 18:06 mlathrom

arg - apologies - i got it working; unclear why that first round failed.

It looks cool. I'll watch this space to see how it progresses.. would like to use it one day.. Personally i'd be looking for it in a dist vanilla js format so i could integrate into simple static html5 sites.. also, responsive to screen size changes would be great.

great work.

bfalchuk avatar Jun 14 '20 17:06 bfalchuk

Thanks, man. Yeah, good to hear what people want from it. Do you think committing the dist folder with the app ready to run would be helpful? Or just the JS that can be included in projects?

mlathrom avatar Jun 16 '20 05:06 mlathrom

Up to you, of course, but for me - looking to integrate with static/vanilla sites, i'd look for a /dist or /src dir that includes a build. As a random example, https://github.com/wagerfield/parallax is a nice web lib to create a special effect ; he has put the minified js into /src dir, and also hosted it on cdnjs.cloudflare.com/ . Cheers.

bfalchuk avatar Jun 16 '20 13:06 bfalchuk

Oh, I see. So maybe I have a dist folder with the vanilla js build, then a demo folder with the html/css/js so you can quickly try it out. I like that idea.

mlathrom avatar Jun 16 '20 13:06 mlathrom