Last 12 weeks · 0 commits
4 of 6 standards met
Hi, feel free to close this anytime. Is there a best way of importing this in a Nuxt project? First thing I did is to create a file inside my directory and import it in in . The types are working but when you run it, you'll still get undefined errors. Second thing I did, which worked, is to just import in each of the layout component inside folder. Just wondering if there's a better way of doing this. Thanks!
Repository: antfu/vue-global-api. Description: Use Vue Composition API globally Stars: 335, Forks: 10. Primary language: TypeScript. Languages: TypeScript (100%). Open PRs: 0, open issues: 2. Last activity: 5y ago. Community health: 71%. Top contributors: antfu, webfansplz, Scrum, jdf221.