Open mukeshghodela-easternts opened 1 year ago
@devilwjp But it is giving error "vite.createFilter is not a function"
// FILE: vite.config.js
import { defineConfig } from 'vite'
import veauryVitePlugins from 'veaury/vite/index.js'
import vue from '@vitejs/plugin-vue'
import { quasar, transformAssetUrls } from '@quasar/vite-plugin'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
veauryVitePlugins({
type: 'vue',
// Configuration of @vitejs/plugin-vue
vueOptions: { template: { transformAssetUrls } },
}),
quasar({
sassVariables: 'src/quasar-variables.sass'
})
]
})
@devilwjp Thanks I will try this :)
@devilwjp How to use React components with Typescript. I am trying to use svg in tsx file
@mukeshghodela-easternts Like the standard vite project configuration, use veauryVitePlugins.