From 069f2a5aa2a36acb8536495ead8c4f2ad02cc8b5 Mon Sep 17 00:00:00 2001 From: IlyaL Date: Sat, 19 Jul 2025 13:10:04 +0800 Subject: [PATCH] docs: add Quasar usage example --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index abf23b5f..324a1016 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,36 @@ export default {
+
+Quasar
+ +```ts +// vite.config.js [Vite] +import Components from 'unplugin-vue-components/vite' +import { defineConfig } from 'vite' + +export default defineConfig({ + plugins: [ + Components({ /* options */ }) + ] +}) +``` + +```ts +// quasar.config.js +export default defineConfig(() => { + return { + build: { + vitePlugins: [ + ['unplugin-vue-components/vite', { /* options */ }], + ] + }, + } +}) +``` + +
+
esbuild