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

feat: bump vue to 3.3 #1327

Merged
merged 3 commits into from
May 11, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: tweaks
Mister-Hope authored and meteorlxy committed May 11, 2023
commit fb980eb094f911989ac27b58109bd1ccf6d0b2ae
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@ module.exports = {
root: true,
extends: 'vuepress',
globals: {
// workaround for vue3.3 slots
defineSlots: 'readonly',
__VUEPRESS_VERSION__: 'readonly',
__VUEPRESS_BASE__: 'readonly',
__VUEPRESS_DEV__: 'readonly',
__VUEPRESS_SSR__: 'readonly',
__VUE_HMR_RUNTIME__: 'readonly',
__VUE_OPTIONS_API__: 'readonly',
__VUE_PROD_DEVTOOLS__: 'readonly',
// workaround for vue3.3 slots, should be removed once eslint-plugin-vue supports this
defineSlots: 'readonly',
},
overrides: [
{
1 change: 1 addition & 0 deletions ecosystem/theme-default/src/client/components/Navbar.vue
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ import {
defineEmits<{
(e: 'toggle-sidebar'): void
}>()
defineSlots<{
before?: (props: Record<never, never>) => any
after?: (props: Record<never, never>) => any
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ defineProps({
default: undefined,
},
})
defineSlots<{
default?: () => any
}>()