# prestashop_accounts_vue_components

> ## Usage

Latest version **5.3.2** (published 2025-09-30) · 0 weekly downloads

## Install

```sh
npm install prestashop_accounts_vue_components
pnpm add prestashop_accounts_vue_components
yarn add prestashop_accounts_vue_components
bun add prestashop_accounts_vue_components
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.3.2 |
| Published | 2025-09-30 |
| First published | 2020-04-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | david-piatek, maxenceperrinp, xgouley, boubker-bribri |

## Links

- npm: https://www.npmjs.com/package/prestashop_accounts_vue_components
- npm.io page: https://npm.io/package/prestashop_accounts_vue_components

## Dependencies (5)

- [joi](https://npm.io/package/joi.md) ^17.9.2
- [zoid](https://npm.io/package/zoid.md) 9.0.63
- [rimraf](https://npm.io/package/rimraf.md) ^5.0.1
- [compare-versions](https://npm.io/package/compare-versions.md) ^6.1.1
- [@prestashopcorp/puik](https://npm.io/package/@prestashopcorp/puik.md) 1.5.1

## Recent versions

- 5.3.2 (latest) — 2025-09-30
- 5.2.3 — 2025-09-30
- 5.3.1 — 2025-08-07
- 5.3.1-beta — 2025-08-06
- 5.2.2 — 2025-08-05
- 5.3.0 — 2024-08-26
- 5.2.2-beta2 — 2024-08-01
- 5.2.2-beta — 2024-08-01
- 5.2.1 — 2024-07-30
- 5.2.1-beta.1 — 2024-07-29
- 5.2.1-beta.0 — 2024-07-29
- 5.2.0 — 2023-09-26
- 5.1.3-beta — 2023-09-26
- 5.1.2-beta — 2023-09-25
- 5.1.1 — 2023-09-05
- … 73 more at https://npm.io/package/prestashop_accounts_vue_components/versions

## README

# Prestashop Accounts Vue Components

## Usage

We recommend using the Web component by loading the library through CDN to receive the latest components updates
### CDN (Recommended)

#### Web Component (Recommended)

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

```html
# To load latest minor version 5
<script src="https://unpkg.com/prestashop_accounts_vue_components@5" defer></script>

# To load latest version
<script src="https://unpkg.com/prestashop_accounts_vue_components" defer></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

```html
<prestashop-accounts></prestashop-accounts>

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

#### Vue component

If you want to use the component in VueJS you will need to load VueJS through cdn too 

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

<script src="https://unpkg.com/prestashop_accounts_vue_components@5/psaccountsVue.umd.js" defer></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>
```

### Local install

First you need to install the package using your package manager
```sh
# chose your favorite package manager
# NPM
$ npm install prestashop_accounts_vue_components --save

# Yarn
$ yarn add prestashop_accounts_vue_components

# pnpm
$ pnpm install prestashop_accounts_vue_components
```

Then you need to choose a way to integrate your component

#### Web component (recommended)
```html
<template>
  <div>
    <prestashop-accounts></prestashop-accounts>
  </div>
</template>
<script>
import PsAccounts from "prestashop_accounts_vue_components"

PsAccounts.init();
// OR if you want to use a custom name for the tag
import { PsAccountsWebComponent } from "prestashop_accounts_vue_components"

customElements.define('your-tag-name', PsAccountsWebComponent)
</script>
```

#### Vue component

```html
<template>
  <div>
    <PsAccounts />
  </div>
</template>
<script setup>
import { PsAccounts } from "prestashop_accounts_vue_components";
</script>
```

## Compatibility

Compatible version of prestashop_accounts_vue_components with PsAccounts  

| Ps Accounts Module | Vue Components minimum version | Vue components maximum version |
|--------------------|--------------------------------|--------------------------------|
| 5.0                | 2.0.0                          | 2.0.4                          |
| 5.0.2              | 2.0.0                          | 2.0.4                          |
| 5.0.3              | 2.0.0                          | 2.0.4                          |
| >=5.1.0            | 3.0.0                          | 3.0.4                          |

---
_Source: https://npm.io/package/prestashop_accounts_vue_components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
