I use pinia to manage project data and I want to use it in vuejs components and there is a setup attribute in the script tag like this :
<script setup>
</script>
But when I want to define data within the same component, I get into trouble, and when I type the word export to define the data, it turns red and gives an error. When I delete the word setup from the script tag, that red line is removed, but I can not use the pinia (store) file values.