Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

208
Views
property setup Problems using data from the pinia (store) file to vuejs components

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.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!