Back in the stone age, we used to just drop in a .js file or a CDN reference and start coding. But now things seem much more complicated. I'm trying to use Vuelidate 2 in the browser, but I can't seem to figure it out. I've already done
npm install @vuelidate/core @vuelidate/validators -g
and that's pretty much all the installation instructions I've found on the website. What do I do next? The example they provide for importing the modules is using es6 syntax, which would need to be transpiled for wider browser support, right?
Do I need Browserify, Babel, Webpack... what do I need to do to simply write client-side JavaScript for my page using Vuelidate? I'm not building a single-page app, nor running JavaScript server-side, nor worried about page size at the moment. I just want to test out Vuelidate 2. I've encountered similar issues with other libraries not being precompiled into a browser-ready .js file, which I assume is for optimizing the modules you need. It's getting harder to get by without knowing how to do this, but it's not any easier to figure out where to start.