Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate veaury into quasar-vite app? #78

Open
mukeshprajapati-kombee opened this issue May 30, 2023 · 5 comments
Open

How to integrate veaury into quasar-vite app? #78

mukeshprajapati-kombee opened this issue May 30, 2023 · 5 comments

Comments

@mukeshprajapati-kombee
Copy link

No description provided.

@devilwjp
Copy link
Collaborator

@mukeshghodela-easternts Like the standard vite project configuration, use veauryVitePlugins.

@mukeshprajapati-kombee
Copy link
Author

@devilwjp But it is giving error "vite.createFilter is not a function"

@devilwjp
Copy link
Collaborator

devilwjp commented May 30, 2023

// 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'
   })
 ]
})

@mukeshprajapati-kombee
Copy link
Author

@devilwjp Thanks I will try this :)

@prajapati-mukesh
Copy link

prajapati-mukesh commented Aug 21, 2023

@devilwjp How to use React components with Typescript.
I am trying to use svg in tsx file

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants