-
unplugin-vue-router/docs/data-loaders/rfc.md Lines 849 to 852 in ef056ab The requirement of using non-setup Vanilla Vue already provides macros that accept local variables from <script setup lang="ts">
import { ref } from "vue";
const inheritProps = ref(true);
defineOptions({ inheritProps });
</script>
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I know 😅 |
Beta Was this translation helpful? Give feedback.
I know 😅
Currently there is an experimental setting that automatically adds the export. I can’t remember the name, but it should be easy to find with auto completion on the experimental option