Skip to content

Commit 7b2ead2

Browse files
authored
docs: add Quasar usage example (#868)
1 parent b2a2a89 commit 7b2ead2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,36 @@ export default {
132132

133133
<br></details>
134134

135+
<details>
136+
<summary>Quasar</summary><br>
137+
138+
```ts
139+
// vite.config.js [Vite]
140+
import Components from 'unplugin-vue-components/vite'
141+
import { defineConfig } from 'vite'
142+
143+
export default defineConfig({
144+
plugins: [
145+
Components({ /* options */ })
146+
]
147+
})
148+
```
149+
150+
```ts
151+
// quasar.config.js
152+
export default defineConfig(() => {
153+
return {
154+
build: {
155+
vitePlugins: [
156+
['unplugin-vue-components/vite', { /* options */ }],
157+
]
158+
},
159+
}
160+
})
161+
```
162+
163+
<br></details>
164+
135165
<details>
136166
<summary>esbuild</summary><br>
137167

0 commit comments

Comments
 (0)