One question, by using pnpm aren't you installing all the other libraries that come with node? And isn't that defeating the purpose of using Go with htmx to make the code light-weight?
As far as I'm aware, Vite will only include what's being imported in the input, so it strips down everything else (in this case, it should only include htmx). But more recently I've found it easier to just copy the minified js file from HTMX's CDN, since it's simpler. I would still do it this way if I wanted to add HTMX extensions though.
Thanks for watching! I'm not planning on creating videos about Neovim in the near future, but I mostly get all the ideas for my config from @ThePrimeagen and @teej_dv. If you want help with it you can hit me up on X @emanuelturis.
One question, by using pnpm aren't you installing all the other libraries that come with node? And isn't that defeating the purpose of using Go with htmx to make the code light-weight?
As far as I'm aware, Vite will only include what's being imported in the input, so it strips down everything else (in this case, it should only include htmx). But more recently I've found it easier to just copy the minified js file from HTMX's CDN, since it's simpler. I would still do it this way if I wanted to add HTMX extensions though.
@@webdevfuel I'll build a project tonight and see how it goes, if so it's very interesting
@@arturfil Good luck with your project!
nice vid. can you make a video about how to config nvim like you? thanx
Thanks for watching! I'm not planning on creating videos about Neovim in the near future, but I mostly get all the ideas for my config from @ThePrimeagen and @teej_dv. If you want help with it you can hit me up on X @emanuelturis.