Skip to content

Commit

Permalink
docs: adjust vue-typescript contribution entry
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Aug 30, 2024
1 parent 8e9c137 commit 7b839c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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

0 comments on commit 7b839c3

Please sign in to comment.