My decision to use Vue.js for a new project was influenced by its ability to run natively in the browser, unlike React which requires compilation/transpilation via Node. I'm considering linking directly to a CDN like this in my production code:
<script src="https://unpkg.com/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6b1d1e0e2b594559455a">[email protected]</a>"></script>
A colleague mentioned that this approach may only be suitable for development, as unpkg could be transpiling on the fly (potentially impacting performance). However, it appears to work fine for me. I also have the option to link to a more robust CDN like this one, but I want to ensure that I'm not violating any best practices by bypassing a Node build system (such as webpack).