Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prestashop_accounts_vue_components

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prestashop_accounts_vue_components

## Community Service & PrestaShop X modules

  • 4.1.0
  • npm
  • Socket score

Version published
Weekly downloads
690
decreased by-11.76%
Maintainers
4
Weekly downloads
 
Created
Source

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 install

Usage

Storybook

Local
yarn storybook
Integration / Production

Storybook integration (triggered on PR labeled 'quality assurance needed')

Storybook production (triggered on push master/main)

CDN

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

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

# To load version 4.0.0
<script src="https://unpkg.com/prestashop_accounts_vue_components@4.0.0"></script>

# To load latest patched version 4.0
<script src="https://unpkg.com/prestashop_accounts_vue_components@4.0"></script>

# To load latest version
<script src="https://unpkg.com/prestashop_accounts_vue_components"></script>

To use the prestashop_accounts_vue_components, you need a prestashop-accounts html tag, when it's in the page you can then call the init function of psaccountsVue

<prestashop-accounts></prestashop-accounts>

<script>
    window.psaccountsVue.init();
</script>

If you need to use the vue cdn for your app, please create your app with the vue esm-browser as follow

<div id="app"></div>

<script src="https://unpkg.com/prestashop_accounts_vue_components@4.0.0"></script>

<script type="module">
    import { createApp } from 'https://unpkg.com/vue@3.2.26/dist/vue.esm-browser.js';

    const App = {
        data() {
            return {
                name: "John",
            };
        },
        template: `<div>
			<h1>Hello {{ name }}</h1>
			<prestashop-accounts></prestashop-accounts>
		</div>`,
		mounted() {
			window.psaccountsVue.init();
		}

    };

    createApp(App).mount("#app");
</script>

FAQs

Package last updated on 11 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc