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

docs: adjust vue-typescript contribution entry #10

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default defineConfig({
{ text: 'Contributing as a Developer', link: '/contribution-guides/contribute-as-developer' },
{ text: 'Working on Issues', link: '/contribution-guides/working-on-issues' },
{ text: 'Python Code Testing', link: '/contribution-guides/python-testing' },
{ text: 'Vue/Typescript Testing', link: '/contribution-guides/vue-typescript-testing' },
{ text: 'Vue/Typescript', link: '/contribution-guides/vue-typescript' },
{ text: 'Manual Testing', link: '/contribution-guides/manual-testing' },
{ text: 'Code Profiling', link: '/contribution-guides/code-profiling' },
{ text: 'rotki Database', link: '/contribution-guides/rotki-database' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ const emit = defineEmits<{
'update:msg': [msg: string];
}>();

// 3, I18n & vue-router
const { msg } = toRefs(props);

// 3. I18n & vue-router
const { t } = useI18n();
const router = useRouter();
const route = useRoute();
Expand All @@ -121,7 +123,7 @@ watch(title, (title) => {
emit('update:msg', title);
});

// 10 Lifecycle
// 10. Lifecycle
onMounted(() => {
increaseCounter();
});
Expand Down