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

perf(ui/sidebar): optimize setup process and i18n lazy load #962

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

qwqcode
Copy link
Member

@qwqcode qwqcode commented Aug 29, 2024

Referring to the example provided by vue-i18n for dynamically importing locale resources in Vite, we made modifications to the sidebar of artalk. We split different languages into separate locale files and load the corresponding language files using lazy loading.

Additionally, we made changes to the sidebar initialization process and its interaction with the core artalk program. The process is now clearer, but further optimization is still needed.

References:

@qwqcode qwqcode merged commit 1b0eff9 into master Aug 29, 2024
9 checks passed
@qwqcode qwqcode deleted the perf/ui/sidebar branch August 29, 2024 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant