Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion Thread] πŸ“£ Vue 3 Kit Suggestion Thread πŸ“£ #45

Closed
lihbr opened this issue Mar 10, 2021 · 2 comments
Closed

[Suggestion Thread] πŸ“£ Vue 3 Kit Suggestion Thread πŸ“£ #45

lihbr opened this issue Mar 10, 2021 · 2 comments
Labels
help wanted Extra attention is needed rfc New feature or request RFC v3 Getting addressed or related to version 3 of the kit

Comments

@lihbr
Copy link
Member

lihbr commented Mar 10, 2021

πŸ“£ Vue 3 Kit Suggestion Thread πŸ“£

πŸŽ‰ Β Vue 3 Kit RFC β€” πŸ“– Β Vue 2 Kit Reference

We're about to start the work on the next major version of @prismicio/vue (this repository). The main goal of this version will be to support Vue 3. A similar process will follow soon to support Nuxt 3, on our Nuxt kit.

Suggestion Process

We want everyone to be able to participate and provide input on the future of this kit without feeling discouraged by of a lengthy RFC requirement.

This suggestion thread is a place where you can read, discuss, react, and share less structured or opinionated inputs regarding:

  • "What you'd like to see in the next version of @prismicio/vue?"
  • "What bugs you with the current version of the kit?"
  • "What would be awesome for Prismic x Vue?"

To help everyone relate to your suggestion, provide a bit of context about your use-case. Here's an example of a hypothetical suggestion (inspired from #38):

Hey, I'd like to be able to select the value of the `rel` attribute
on a blank anchor tag when using the `<prismic-link />` component. This will
allow me to pick the strategy I like to handle blank links.

Every comment might inspire others and help us develop our thoughts on what could be the best interface and feature set for the Vue 3 kit. You can see what is currently planned in the related RFC and add your comments on it there.


Please be respectful and friendly to everyone's ideas and point of view. Thanks for contributing! πŸ’™

@lihbr
Copy link
Member Author

lihbr commented Mar 12, 2021

Here are few things from the top of my mind that I'd like to see in the next Vue kit, although they might need more thoughts:

1. Better/easier imgix integration

Prismic images are served by imgix through our images subdomain (example). Thanks to that, image manipulations provided by imgix (cropping, text, watermarking, etc.) are also applicable to images managed within Prismic. To help with image manipulation, imgix provides development kits, there's one for Vue: https://github.com/imgix/vue-imgix.

Basically, I'd like to explore the opportunity to ease the imgix integration with Prismic in this kit for people that might want it, currently its usage is not that straightforward. If we figure anything working toward that though I'd like to make sure it's an optional feature as I'd like to avoid the extra bundle for people not needing it.

2. Normalized interface between Vue kits

That's a small one but currently, there's a mismatch between the interface of the Vue kit and Nuxt one, using $prismic.client on the Vue kit and $prismic.api on the Nuxt kit. This will be an opportunity to normalize those interfaces.

3. Just having to install one package

When installing @prismicio/vue we also need to install @prismicio/client and prismic-dom. I think it'll be better if we only have to install @prismicio/vue like with the Nuxt kit.

@lihbr
Copy link
Member Author

lihbr commented Aug 23, 2021

Update 08/23/2021: RFC has been updated reflecting 2nd implementation details, feedback is now welcome under the same issue: #46

@lihbr lihbr closed this as completed Aug 23, 2021
@lihbr lihbr added the v3 Getting addressed or related to version 3 of the kit label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed rfc New feature or request RFC v3 Getting addressed or related to version 3 of the kit
Projects
None yet
Development

No branches or pull requests

1 participant