Skip to content

Commit

Permalink
refactor!: remove build-in vue-starport support (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 2, 2024
1 parent f9e1c65 commit b14be81
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion packages/client/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ setupRoot()

<template>
<RouterView />
<StarportCarrier />
</template>
1 change: 0 additions & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"vite-plugin-windicss": "^1.9.3",
"vue": "^3.4.15",
"vue-router": "^4.2.5",
"vue-starport": "^0.4.0",
"windicss": "^3.5.6"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions packages/client/setup/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import type { AppContext } from '@slidev/types'
import { MotionPlugin } from '@vueuse/motion'
import StarportPlugin from 'vue-starport'
import TwoSlashFloatingVue from '@shikijs/vitepress-twoslash/client'

export default function setupMain(context: AppContext) {
Expand All @@ -15,7 +14,6 @@ export default function setupMain(context: AppContext) {
window.addEventListener('resize', setMaxHeight)

context.app.use(MotionPlugin)
context.app.use(StarportPlugin({ keepAlive: true }))
context.app.use(TwoSlashFloatingVue as any)

// @ts-expect-error inject in runtime
Expand Down
13 changes: 0 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b14be81

Please sign in to comment.