To promote reusability and maintainability, shared components should be exported as a NPM module. This will allow us to easily import and use these components across all vue projects.
Example:
{% include shared-components/includes/hero.html %}
will transform into a plain vue import:
e.g.
import { Hero, ContentScroller } from '@gk/shared-components
Acceptance Criteria:
[ ] Create a NPM module for shared components.
[ ] Ensure components are fully customizable via props.
[ ] Document how to use these shared components within the projects.
To promote reusability and maintainability, shared components should be exported as a NPM module. This will allow us to easily import and use these components across all vue projects.
Example: {% include shared-components/includes/hero.html %}
will transform into a plain vue import: e.g. import { Hero, ContentScroller } from '@gk/shared-components
Acceptance Criteria: