@toke1996/quasar-app-extension-module-template
v0.0.1
Published
Quasar App Extension which injects a Vue component - MyComponent
Downloads
1
Readme
Quasar App Extension MyComponent
This is an example of a Quasar App Extension that injects a custom component into the hosting Quasar app.
Take into the account that for this example, the ext-id
of this App Extension is my-component
(this can be anything, and please do change it for a more appropriate name for your App Extension).
Example is derived from:
https://github.com/quasarframework/app-extension-examples/tree/v2/my-component
Check out the docs: https://quasar.dev/app-extensions/tips-and-tricks/provide-a-ui-component
Usage:
- Publish the package to your npm registry.
- Adjust the src/index.js file to point to your registry
- In your Quasar project just use quasar ext add (in this case: quasar ext add @toke1996/my-component)
- The exported components can than be used anywhere in the quasar project without using an import statement.