Is there a way to globally import ref
, reactive
, and computed
in the main.js
file when using Vue 3
?
I'd like to find a solution that eliminates the need to import them in every component. How can I achieve this?
import { ref, reactive, computed } from 'vue'