Akryum / Akryum/vue-share-components

Errors when trying to use the build files in a non Vue Application.

Ouverte
#7 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
153
Forks
28
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Greetings

I've successfully written a few components and went through the build process.

When I add the browser based files to a different application and I add Vue. For some reason the component is not properly installing with Vue use . The component is successful added to the the page. However it is not respecting props that I pass to the component.

Steps
1. Write component in Vue share components
2. Build library and retrieve exported dist folder.
3. Load the browser build via a script tag in the separate project .
4. Load vue distribution script via a script tag.
5. Instantiate Vue on a div with a targeted class.
6. Call Vue.use and pass the library name
7. Add the component within. The div.

8. The component loads but props passed to the component are not picked up by the component it simply uses the props that were set on the component before it was built.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.