how create VueJS Quasar extension #14908
Replies: 1 comment
-
I think this line isn't compatible with vite project : I resolve the second error after build in ui folder Now i try to use Vue file for component. but when i add css in my component : <style lang="sass" scoped> .my-component__text font-weight: bold </style>I have this error : thank you for your help |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create an extension following the documentation. https://quasar.dev/app-extensions/development-guide/introduction
I have the ui-kit tree. I did in test project : npm add --dev C:\GIT\NpmPackage\MyComponent\app-extension
After I do: quasar ext invoke quasar-ui-my-component
Then when I run my test project i have this error : TypeError: Cannot read properties of undefined (reading 'push') at Object.extendConf [as fn] (C:\GIT\NpmPackage\MyComponent\app-extension\src\index.js:16:36) In index.js this line is in error : conf.build.transpileDependencies.push(/quasar-app-extension-my-component[/]src/)
if i comment this line i have this error : C:\GIT\NpmPackage\MyComponent\app-extension\src\boot\register.js 1:1 error Parsing error: The keyword 'import' is reserved
Beta Was this translation helpful? Give feedback.
All reactions