Skip to content

Commit d503542

Browse files
hugohabicht01hugohabicht01
and
hugohabicht01
authored
feat: allow bun as package manager for dep installation (#2098)
* feat: allow bun as package manager for dep installation * docs: initializing a new project with bun --------- Co-authored-by: hugohabicht01 <[email protected]>
1 parent 5417714 commit d503542

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/guide/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ npm init slidev@latest
6565
yarn create slidev
6666
```
6767

68+
69+
```bash [bun]
70+
bun create slidev
71+
```
72+
6873
:::
6974

7075
Follow the prompts to start your slides project. The slides content is in `slides.md`, which initially includes demos of most the Slidev features. For more information about the Markdown syntax, please check <LinkInline link="guide/syntax" />.

packages/create-app/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ async function init() {
117117
name: 'agent',
118118
type: 'select',
119119
message: 'Choose the package manager',
120-
choices: ['npm', 'yarn', 'pnpm'].map(i => ({ value: i, title: i })),
120+
choices: ['npm', 'yarn', 'pnpm', 'bun'].map(i => ({ value: i, title: i })),
121121
})
122122

123123
if (!agent)

0 commit comments

Comments
 (0)