4 ms·
> don't want a build process. I don't want to have to use npm, but want the option if I desire, for something like React. And when I use React, because there i
by kbenson 5y ago
> don't want a build process. I don't want to have to use npm, but want the option if I desire, for something like React. And when I use React, because there is unfortunately no better option
A few years back I chose Vue for supplementing the current little bit of web stuff I was doing because I could just include vue from a script to build a new page. The basic idea was
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js"></script>
</head>
<body>
<!-- Vue HTML components used here -->
<script>
// Vue page specific JS goes here
</script>
</body>
</html>
There was zero build process.
- andrewmcwatters 5y agoYes! Exactly.
- earthboundkid 5y agoAlpine.js works well for this use case too.
- pjmlp 5y agoI would rather go with WebComponents and lit-html, but I share the same sentiment.