matejcik is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
matejcik @matejcik

ugh

i want to build a small vue.js app "the right way", with vue-cli and webpack and all that jazz

and after two hours I'm stuck at getting a bootstrap css into this contraption.

Sure, I could just drop the css file into static/ and be done with it.

Or! I could mess with bower! And expect it to happen magically, somehow, because isn't that the whole point?

...apparently not.

· Web · 0 · 0

oh, so one's supposed to require it. as in, require("bootstrap/dist/css/bootstrap.min.css")

well, that would honestly not occur to me

also what if it isn't webpack and I want it as a static asset?

This right here is the problem with learning new tools. I spend hours bumbling around accomplishing the simplest setup before even getting into the part of the code that I care about.

Well, *some* new tools.
Rust and Cargo, for instance, are nicely straightforward.

@matejcik I think it's mostly a "modern web" thing. it's surely more driven by hacker news's front page than rust's ecosystem is.

@CobaltVelvet sure, js ecosystem is a particularly ugly mess.
but I meant it more in general... something like, if a tool has many moving parts and they all need to be set up right, then the learning curve is going to be steep. better tools = better defaults. or less moving parts.