I'm new to Vue, this may seem a basic question but I'm stuck with this problem:
I have installed Vue 3 using npm, according to the documentation:
I have included Vue to my html file, like so:
<script src="../node_modules/vue/dist/vue.csj.js"></script> But I get this error in the console:
vue.cjs.js:3 Uncaught ReferenceError: exports is not defined at vue.cjs.js:3 (anonymous) @ vue.cjs.js:3
I have seen some similar issues and I know it has something to do with browser compatibility and webpack; like the browser does not natively recognise import/export commands but it seems like everything is installed correctly and I don't know how to solve this issue. I couldn't find anything helpful in the documentation.
So my question is
How do I successfully install Vue and include it in my working files?