Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 947d219

Browse files
dangvanthanhantfu
andauthored
docs: add install for rollup (#29)
Co-authored-by: Anthony Fu <[email protected]>
1 parent 52380c9 commit 947d219

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,23 @@ module.exports = {
163163

164164
<br></details>
165165

166+
<details>
167+
<summary>Rollup</summary><br>
168+
169+
```ts
170+
// rollup.config.js
171+
import Vue from 'rollup-plugin-vue'
172+
import ScriptSetup from 'unplugin-vue2-script-setup/rollup'
173+
174+
export default {
175+
plugins: [
176+
Vue(),
177+
ScriptSetup({ /* options */ }),
178+
]
179+
}
180+
```
181+
182+
<br></details>
166183

167184
<details>
168185
<summary>Jest</summary><br>

0 commit comments

Comments
 (0)