Waiting for someone asking do they just run NPM I browser-apis
Waiting for someone asking do they just run NPM I browser-apis
While this is true, you still want: 1. routing (even if it’s just apache and some folders) 2. html includes/components (even if just PHP) In JavaScript-land I don’t think you can get much more minimal than this: github.com/mastrojs/mas...
Haha are you really pedalling your own JS framework? 😂
Yeah, looks like it 🙈 I really wanted to just use browser apis, but that’s what I still had to write. So I published it as yet another framework 😅 Or how do you do routing?
Don’t need routing with a static site 😄
Yes you do? Even if you just put html files in a folder you’re using apache or a cdn for routing. But more generally, a static site generator will usually have a file-based router.
Those are pretty damn ubiquitous though right? And not something you need to reinvent unless you have a good reason right? Also my original reply was about *browser* APIs 🤷🏼♂️
yeah, for me the reason to reinvent was that I needed it to run as a VSCode extension in the browser where you don’t have a real file system.