-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Vue 3 support #55
Comments
Is there an estimate on when this might be available? Or, alternatively, any insight into what needs to be done to migrate to Vue 3? |
This is a great question! Currently Blitzar uses QForm and QTable under the hood. I have nothing against QForm and QTable, but the issue is: using those as dependency introduces a lot of global CSS pollution in projects. So currently it's really annoying when using Blitzar in Non-Quasar projects... Planned steps:
Upgrading to Vue3:
|
I do not mind the QForm and QTable dependencies; Quasar v2 beta appears to be very stable and I am using Quasar for my application. So my preference is for movement to Vue 3 first. I looked at the Blitzar code and thought that there would not be too many changes but I was not confident in my doing it myself. |
@Peter-Gabel the thing is, I rather wait until Quasar's official Vue 3 release. |
Yes. I'd love to get right on it but it will take me about a week to find the time in my schedule. If you could propose when might be convenient for you, I would be grateful for guidance including any insights that you could share about migrating the code to Vue 3. I'm still getting up to speed on Vue 3 - I keep dropping into Vue 2 idioms and then need to remind myself of the differences. I am in the eastern US time zone but can be very flexible. |
what's your discord tag? |
@mesqueeb Seeing as quasar already updated to Vue3, is there any issue updating now? |
ps: WIP on this branch |
Finished BlitzForm and BlitzListForm. Now working on BlitzTable. Looking at |
I'm anxious to use in quasar v2, thanks from Brazil. |
Loving what I'm seeing so far with Blitzar. |
Thanks guys. I will try to host the new docs and release beta version this week. BlitzForm and BlitzListForm are already done and usable in beta in Vue 3 projects. |
Thanks, Luca. I'm using BlitzTable in a new Quasar project and had to drop back to v1 because this library is helpful enough to make it worth doing that. Personally, I'd rather see it working with QForm and QTables than wait for the non-Quasar refactoring. |
I was able to deploy the docs for Vue 3 here: You can install the Vue 3 compatible BlitzForm by
and use it according to the new docs. Also check out the breaking changes documented in the first post of this thread. I will continue to update here once I make progress hosting the new docs and also updates on the Vue 3 compatible BlitzTable. |
I was able to deploy the docs for Vue 3 here: |
@WaltiDev did you globally register CodeBlock? |
I think yes: My "quasar boot file" has filename "blitzar.js" and is located in the /src/boot/ folder. export default boot(async ({ app }) => { And in quasar.conf.js I added "blitzar" into boot:
|
your code seems wrong. First of all, you need to globally register BlitzForm like so:
And second of all, I think you have a typo for CodeBlock. Where are you getting this component from?
I hope that helps! PS: for more assistance with this, please open a new issue. I wanna keep this thread clean and only about upgrading the Blitzar source code. |
Hi, Is there a timeline for when BlitzTable will work with Vue 3? |
@phineas629 yes I've been working on it this week and hopefully have something out next week. |
@mesqueeb sweet! |
I have released the official Vue 3 Blitzar! 🎉
Will continue to improve Blitzar heavily into 2022. Blitzar does not use Quasar anymore and is now usable with any Vue framework. (still need to test SSR and Nuxt though, might not be compatible with SSR just yet) |
Thanks!
Sent from my T-Mobile 4G LTE Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Luca Ban ***@***.***>
Sent: Saturday, December 18, 2021 4:08:16 AM
To: CyCraft/blitzar ***@***.***>
Cc: Phineas Vang ***@***.***>; Mention ***@***.***>
Subject: Re: [CyCraft/blitzar] Vue 3 support (#55)
I have released the official Vue 3 Blitzar! 🎉
* See new docs:
https://blitzar.cycraft.co/
Will continue to improve Blitzar heavily into 2022.
—
Reply to this email directly, view it on GitHub<#55 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHDA6JVHW2VRKJFHKXTSAPTURRMRBANCNFSM4V2CJVCQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
To everyone here: I still plan to:
Let me know if anything's up! -- |
HI Luca,
Can you meet online for consulting?
I have questions about blitzar integration with quasar.
Thanks,
Phineas
On Jan 8, 2022, at 11:13 PM, Luca Ban ***@***.******@***.***>> wrote:
To everyone here:
Vue 3 release of Blitzar is getting quite stable! Closing this issue for now.
I still plan to:
* create a framework example for Quasar, Nuxt, ...
Let me know if anything's up!
…--
Blitzar was made with 💜 by Luca Ban.
You cannot sponsor every project, but next time you do, think of this one<https://github.com/sponsors/mesqueeb> for its prolonged maintenance.
—
Reply to this email directly, view it on GitHub<#55 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHDA6JWALEK3QSM65I3E3ZLUVEKODANCNFSM4V2CJVCQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Is continued support for Blitzar still ongoing? |
I have released the official Vue 3 Blitzar! 🎉
https://blitzar.cycraft.co/
--
--
Breaking Changes For Blitzar + Vue 3
BlitzTable
BlitzTable was completely rewritten and has changed a lot.
BlitzForm
renamed terminology
@input
to@update:modelValue
@field-input
to@updateField
update-field
makes sense with Vue 3 terminology (because Vue 3 doesn't rely on@input
anymore)@input-cell
to@updateCell
fieldInput
(the function) toupdateField
evaluatedProps
todynamicProps
mode: 'view'
tomode: 'readonly'
upgrade strategy for the above:
Deprecated props
rules
validation array per fieldrules
was only used because Quasar's QField uses it for Validationerror
where you can simple pass a validation function much like therules
prop before. The difference is, it's a single function (to be marked asdynamicProps: ['error']
) and you make it a single function that returnsnull
if there's no error, or the error you want to display when there is one.deprecate prop
internalErrorsFor
array of field-namesinternalErrors: true
to the fields you need thisdeprecate prop
validator
global validation functiondeprecate
mode: 'add'
mode: 'add'
by doing a global search foradd
mode: 'add'
andmode: 'edit'
The text was updated successfully, but these errors were encountered: