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

Refactor i18n Plugin Usage #679

Open
rak-phillip opened this issue Apr 15, 2024 · 0 comments · May be fixed by #836
Open

Refactor i18n Plugin Usage #679

rak-phillip opened this issue Apr 15, 2024 · 0 comments · May be fixed by #836
Assignees
Labels
dependencies Pull requests that update a dependency file kind/tech-debt
Milestone

Comments

@rak-phillip
Copy link
Member

rancher/dashboard#10801 deprecates the existing method for installing the i18n plugin.

Where we would originally load the plugin via import:

// The plugin implicitly installs the plugin and extends Vue via the import
import '@shell/plugins/i18n';

We now explicitly install the plugin via Vue.use():

import i18n from '@shell/plugins/i18n';

// The plugin is explicitly loaded by the consumer, providing a Vue instance
Vue.use(i18n);
@jordojordo jordojordo added this to the 1.4.x milestone Apr 23, 2024
@jordojordo jordojordo added kind/tech-debt dependencies Pull requests that update a dependency file labels Apr 23, 2024
@jordojordo jordojordo modified the milestones: 1.4.x, 2.0.x Jul 31, 2024
@jordojordo jordojordo self-assigned this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file kind/tech-debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants