-
Notifications
You must be signed in to change notification settings - Fork 963
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
[Feature Request] Update Vuetify to 2.0 #35
Comments
I just tried to do this myself with the vue UI.
It seems to be a common issue regarding referencing components, but in vuetify 2.0, referencing and importing components has changed some how. Hopefully someone with vue experience could help but for now we'll be sticking with vuetify 1.5.13 |
The way that you load Vuetify has changed, so you will need to update for
for
There are a few places where the activator slot for a
This was the only unintuitive step for updating to 2.0 that I encountered (so far). The rest is a simple search and replace for updated component names that can easily be pinpointed by looking at your javascript console errors. One more thing, make sure you install sass, not node-sass.
|
The 2.0.0 Release notes show all changes/renames Like how
The activator example by @koenrad is excellent, thanks so much! Data Tables have changed.
|
One of the most confusing parts I dealt with was regarding the much simplified
But when I try this I get the error: If anyone has any ideas why, I'd really appreciate it. |
Is this issue solved yet? Because I see the vuetify version has already updated to v2 in release v2.0.0 |
I think it is @AndrewLamYW , just upgraded an app to the latest release, and except for a few adjustments needed, it worked like a charm 🎉 |
This issue is open because the template need apply the Creative Tim styles .. like the version Pro |
I made a pull request to upgrade to Vuetify v2: #42 You can see and comment about this. |
Hi, @MrJmpl3 ! It's already exist the v2 in a branch with the v2.0.0, but the style is not applied 100% and we must fix this. Regards, |
@dragosct10 I made the pull request in v2 branch , and apply the style same the Pro version (but without pro features, for logic reasons). |
hello i'm trying to migrate to vuetify 2, i followed this discussion changing the main.js and the app.js file following the instructions and uninstalled node-sass and istalled sass, i have this error:
inside the file default.styl i commented and added
is this wrong? |
@peppeg85 try to follow this branch: https://github.com/MrJmpl3/vuetify-material-dashboard/tree/modified-version The update is not only change stylus per sass, this update need others changes |
ok, thank you, the better solution is clone it and port all the job i've done over it.
that imports
now to import these styles how can i do with this new template? edit: |
Hi, Any plan to merge the other branch? |
Hey I'm having the exact same issue. Have you found the answer yet? Thanks! |
Same issue, someone? |
I can explain what helped me but it was a complex dependency issue and I doubt it will be exactly the same fix for you.
In simpler solutions I was getting these kinds of errors trying v-data-table in a vue file with lang="ts" or lang="js": So this is a bit of a hint because it indicates both ts and js having an issue, but not caused by the vue file using v-data-table itself, but elsewhere in my solution. So I started converting my whole solution back to JS to reduce differences further and saw that my App.vue was also lang="ts" and many others.
Then suddenly the v-data-table began loading as advertised. So unfortunately it was a mix of dependency juggling and other stuff, and perhaps a bug in the I suggest you follow the same troubleshooting steps I did. Checkout this repo at it's v.2.0.0 branch and add a vue component with the v-data-table working. |
Thank you for your reply! Actually it was something simillar (or problably same issue), I had in another file export default class ComponentX extends Vue { } So, not body. It was really hard to find what was the problem, I recreate my project adding pieces of code until I get the error and then I found the file with the problem. So, if someone else has this problem try to find unconsistencies in files. |
What is your enhancement?
Vuetifyjs 2.0 has been released a few hours ago. This issue is just a placeholder for discussion/work on updating the theme to use this latest release.
https://github.com/vuetifyjs/vuetify/releases
A few backward incompatible changes (as expected from a major release) will require care when updating the theme and some of its components. Will start to familiarize myself with the new stuff in 2.0 and hopefully be able to help too.
Thanks
Bruno
The text was updated successfully, but these errors were encountered: