Vue3 Setup Usecontext

Posted on  by admin

And there you have it!

If you’ve been working in Vite and Vue 3 recently, you’ll notice that when you start a new project, your script section looks like this with this script syntax in your Vue components. You may be wondering, “What is this? Is this the Options API? Composition API? where’s the setup method?”.

The