ALPHA Modules Package
How to create a modules
-
Register your component name on
modules.config.json
at project root;- For the steps below we will take the
TextImage
module as example
- For the steps below we will take the
-
Create your module component on
/src/components/modules/
with the name that you have registered (/src/components/modules/TextImage.vue
) -
Create the component SASS file on
/src/sass/modules/
with the name that you have registered (/src/components/modules/TextImage.scss
) -
Create the component display page on
/src/views/
with the name that you have registered with the suffixPage
(/src/views/TextImagePage.vue
) -
Make a great module and make us proud!! ✨ 🆕 😎 🎉