Skip to content
Advertisement

Vue3 onMounted props not defined

How do I get access to my properties with vue3, onMounted function?

I’m using the setup script tag:

JavaScript

configuration is not defined.

Why is this the case?

Advertisement

Answer

Try this:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement