#A module cannot have multiple default exports.ts(2528)
23 messages · Page 1 of 1 (latest)
@thin pike Is that the entire file on the right?
wdym?
oh, no, that's 2 different
2 different projects with the same error.
both with a single default export
@thin pike the problem lies in your <script> tag
<script setup> is for the Composition API, where you just declare stuff but don't export anything
how do i make it so it's for option api?
if you want to use the Options API, use <script>
okay, i'll try
literally the 1st page of the docs ^^'
Thank you so much
i was following create vite@latest template and din't notice it in the guide
I mean, the Vite template is just a template
to generate the boilerplate for you
always refer to the offical docs if you are unsure about something 
(also looking up the error message in Google might also give you clues)
||it didn't help ; - ;||
anyway, how do i close this... post
need to specify it's using Vite, that's the main part ^^'
!resolved