Skip to content

Commit b14be81

Browse files
authored
refactor!: remove build-in vue-starport support (#1266)
1 parent f9e1c65 commit b14be81

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

packages/client/App.vue

-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ setupRoot()
66

77
<template>
88
<RouterView />
9-
<StarportCarrier />
109
</template>

packages/client/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"vite-plugin-windicss": "^1.9.3",
4848
"vue": "^3.4.15",
4949
"vue-router": "^4.2.5",
50-
"vue-starport": "^0.4.0",
5150
"windicss": "^3.5.6"
5251
},
5352
"devDependencies": {

packages/client/setup/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

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

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

1716
context.app.use(MotionPlugin)
18-
context.app.use(StarportPlugin({ keepAlive: true }))
1917
context.app.use(TwoSlashFloatingVue as any)
2018

2119
// @ts-expect-error inject in runtime

pnpm-lock.yaml

-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)