7 ms·
This was after going a few rounds of prompting in a more search-engine style for pinia, the composition api syntax is in the form: "defineStore('myStore', ()
by CodeWriter23 3y ago
This was after going a few rounds of prompting in a more search-engine style
for pinia, the composition api syntax is in the form: "defineStore('myStore', () => {})" and options api of the form: "defineStore('myStore', {})", using this definition, please show an example of using pinia and reactive() with the composition api instead of the options api results previously shown. thanks