# @prestashopcorp/puik-resolver

> PUIK resolver - For unplugin-vue-components.

Latest version **9.0.1** (published 2026-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @prestashopcorp/puik-resolver
pnpm add @prestashopcorp/puik-resolver
yarn add @prestashopcorp/puik-resolver
bun add @prestashopcorp/puik-resolver
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 9.0.1 |
| Published | 2026-04-15 |
| First published | 2023-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 24 |
| Author | Prestashop |
| Maintainers | rxmat_presta, natsuflame, devops-prestashop |

## Links

- npm: https://www.npmjs.com/package/@prestashopcorp/puik-resolver
- Repository: https://github.com/PrestaShopCorp/puik
- Homepage: https://github.com/PrestaShopCorp/puik#readme
- Issues: https://github.com/PrestaShopCorp/puik/issues
- npm.io page: https://npm.io/package/@prestashopcorp/puik-resolver

## Recent versions

- 9.0.1 (latest) — 2026-04-15
- 2.0.0-beta.5 (beta) — 2024-05-21
- 0.0.1 (build-feature-package) — 2023-12-12
- 9.0.0 — 2026-04-09
- 8.0.0 — 2025-10-22
- 7.0.0 — 2025-06-04
- 6.0.1 — 2025-04-24
- 6.0.0 — 2025-04-08
- 5.0.0 — 2025-01-17
- 4.0.0 — 2024-09-19
- 3.0.0 — 2024-07-29
- 2.0.1 — 2024-06-10
- 2.0.0 — 2024-05-28
- 2.0.0-beta.4 — 2024-05-20
- 2.0.0-beta.3 — 2024-03-19
- … 1 more at https://npm.io/package/@prestashopcorp/puik-resolver/versions

## README

<div align="center">
  <a href="https://prestashop.com">
    <img src="https://prestashop.com/sites/default/files/email/logo_x2_rebrand.png" alt="Logo" width="420">
  </a>

<h3 align="center">Puik Resolver</h3>

  <p align="center">
    The <b>P</b>restaShop <b>UI</b> <b>K</b>it vue component resolver
  </p>
  <a href="https://uikit.prestashop.com/">Documentation</a>
</div>

## About The Project

Puik Resolver is a vue component resolver for `unplugin-vue-components` and `unplugin-auto-import` that will auto import components from the `@prestashopcorp/puik-components`

## Prerequisites

- Node.js LTS is required.
- Vue 3
- `@prestashopcorp/puik-components`

## Installation

```sh
$ npm install -D unplugin-vue-components unplugin-auto-import @prestashopcorp/puik-resolver

# Yarn
$ yarn add unplugin-vue-components unplugin-auto-import @prestashopcorp/puik-resolver -D

# pnpm
$ pnpm install unplugin-vue-components unplugin-auto-import @prestashopcorp/puik-resolver -D
```

ℹ️ `unplugin-auto-import` is only used for the snackbar component at the moment if you don't need this component you can skip everything related to `unplugin-auto-import`

## Usage

Add the following code to your `vite.config.ts` file

```typescript
import { defineConfig } from 'vite'
import Components from 'unplugin-vue-components/vite'
import AutoImport from 'unplugin-auto-import/vite'
import { PuikResolver } from '@prestashopcorp/puik-resolver'

export default defineConfig({
  plugins: [
    // ...
    Components({
      resolvers: [PuikResolver()],
    }),
    AutoImport({
      resolvers: [PuikResolver()],
    }),
  ],
})
```

Then you can use the components without importing them like that

```vue
<script setup></script>

<template>
  <PuikButton>Example button</PuikButton>
</template>
```

You can find out more about [unplugin-vue-components](https://github.com/unplugin/unplugin-vue-components#readme) and [unplugin-auto-imports](https://github.com/unplugin/unplugin-auto-import#readme) in their documentation

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