Migrate frontend framework from Vue2 to Vue3 #9030

Closed
opened 2025-11-02 08:26:26 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @lunny on GitHub (Jun 6, 2022).

Feature Description

As vue3 becomes more and more fluent, we have to consider to migrate current Vue2 to Vue3 to avoid mantaince problem.
I think there are many works to do to address that.

And this will also resolve below issues:

Screenshots

No response

Originally created by @lunny on GitHub (Jun 6, 2022). ### Feature Description As vue3 becomes more and more fluent, we have to consider to migrate current Vue2 to Vue3 to avoid mantaince problem. I think there are many works to do to address that. And this will also resolve below issues: - [x] #10669 ### Screenshots _No response_
GiteaMirror added the type/summary label 2025-11-02 08:26:26 -06:00
Author
Owner

@silverwind commented on GitHub (Jun 7, 2022):

Can vue3 import vue2-based dependencies or do they all have to upgrade? https://github.com/lafriks/vue-bar-graph/issues/9 is related.

@silverwind commented on GitHub (Jun 7, 2022): Can vue3 import vue2-based dependencies or do they all have to upgrade? https://github.com/lafriks/vue-bar-graph/issues/9 is related.
Author
Owner

@Ryuno-Ki commented on GitHub (Jun 8, 2022):

There is a migration build that runs Vue3 but emulates the API of Vue2 (up to a certain degree).
It comes with a performance penalty, though.

@Ryuno-Ki commented on GitHub (Jun 8, 2022): There is a migration build that runs Vue3 but emulates the API of Vue2 (up to a certain degree). It comes with a performance penalty, though.
Author
Owner

@lafriks commented on GitHub (Jun 8, 2022):

Can vue3 import vue2-based dependencies or do they all have to upgrade? lafriks/vue-bar-graph#9 is related.

I have released vue-bar-graph vue3 version

@lafriks commented on GitHub (Jun 8, 2022): > Can vue3 import vue2-based dependencies or do they all have to upgrade? [lafriks/vue-bar-graph#9](https://github.com/lafriks/vue-bar-graph/issues/9) is related. I have released vue-bar-graph vue3 version
Author
Owner

@wxiaoguang commented on GitHub (Oct 1, 2022):

(sorry larfiks, I mentioned wrong component and wrong person 😂 , not vue3-bar-graph , but the heat map)

The heatmap's layout is different from the vue2 version.

By default, it looks like this:

image

On try.gitea.io, I applied a simple style patch:

image

Before, it looks like this (Vue2 version):

image

Will the upstream update the heatmap styles? Or the style will be just patched on Gitea side?

update: the fix is in #21312

@wxiaoguang commented on GitHub (Oct 1, 2022): (sorry larfiks, I mentioned wrong component and wrong person 😂 , not vue3-bar-graph , but the heat map) The heatmap's layout is different from the vue2 version. <details> By default, it looks like this: ![image](https://user-images.githubusercontent.com/2114189/193418028-f2f2c183-d15b-478d-9cc6-06239aacb793.png) On try.gitea.io, I applied a simple style patch: ![image](https://user-images.githubusercontent.com/2114189/193418056-66333cbb-cc88-452d-8cb1-3fe8b98b0c78.png) Before, it looks like this (Vue2 version): ![image](https://user-images.githubusercontent.com/2114189/193418082-c054595f-9d50-4342-b714-f0c32eea3632.png) Will the upstream update the heatmap styles? Or the style will be just patched on Gitea side? </details> update: the fix is in #21312
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9030