prestashop_accounts_vue_components

To work as a Community Service or as PrestaShop X, a module needs three parts:

Usage no npm install needed!

<script type="module">
  import prestashopAccountsVueComponents from 'https://cdn.skypack.dev/prestashop_accounts_vue_components';
</script>

README

prestashop_accounts_vue_components

Community Service & PrestaShop X modules

To work as a Community Service or as PrestaShop X, a module needs three parts:

module ps_accounts

  • Contains all the controllers

library npm

  • Contains all the vuejs components to manage onboarding

library composer

  • Wraps all the calls to ps_accounts
  • Contains all the Firebase logic

Installation

yarn

Usage

For view storybook run

yarn start-storybook

and go on local storybook or use online integration storybook

Storybooks

Storybook integration (trigger on PR labeled 'quality assurance needed'):

https://storybook-accounts.distribution-integration.prestashop.net/

Storybook production (trigger on push master/main) :

https://storybook-accounts.distribution.prestashop.net/

CDN

To load a hosted library, copy and paste the HTML snippet for that library (shown below) in your web page.

# To load version 1.4.2
<script src="https://storage.googleapis.com/prestashop-vuejs-cdn/accounts/1.4.2/prestashop_accounts_vue_components.min.js"></script>

# To load latest patched version 1.4 
<script src="https://storage.googleapis.com/prestashop-vuejs-cdn/accounts/1.4.x/prestashop_accounts_vue_components.min.js"></script>

# To load latest version
<script src="https://storage.googleapis.com/prestashop-vuejs-cdn/accounts/1.x.x/prestashop_accounts_vue_components.min.js"></script>