Closed phoenix-ru closed 5 months ago
Spec dictates that exports should not be allowed in script setup.
Spec: https://github.com/vuejs/core/blob/272ab9fbdcb1af0535108b9f888e80d612f9171d/packages/compiler-sfc/__tests__/compileScript.spec.ts#L871-L890
Note: allow type exports
Spec dictates that exports should not be allowed in script setup.
Spec: https://github.com/vuejs/core/blob/272ab9fbdcb1af0535108b9f888e80d612f9171d/packages/compiler-sfc/__tests__/compileScript.spec.ts#L871-L890