zernonia / vue3-notion

An unofficial Notion renderer (Vue 3) version
https://vue3-notion.vercel.app/
MIT License
134 stars 20 forks source link

Remove unnecessary import #10

Closed hacknug closed 2 years ago

hacknug commented 2 years ago

This PR removes an unnecessary import in the Nuxt v3 example.

This is not necessary since Nuxt already auto-imports useNuxtApp. From what I understand, if this line was to be kept, it should be changed to import it from #imports instead, since that's were Nuxt exposes everything in #app as well as other stuff.

More details about this in the docs: https://v3.nuxtjs.org/guide/concepts/auto-imports#explicit-imports

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
vue3-notion ✅ Ready (Inspect) Visit Preview Apr 28, 2022 at 3:20PM (UTC)
vue3-notion-preview ✅ Ready (Inspect) Visit Preview Apr 28, 2022 at 3:20PM (UTC)
zernonia commented 2 years ago

Yup I knew about Nuxt auto-import! In fact I updated the demo version, but forgot to update README. 😂

Thank you for this PR none the less!!!