docs: switch npm links to npmx.dev

This commit is contained in:
ayo 2026-07-24 07:37:58 +02:00
parent 44a2708a7c
commit 38f495c0fa
3 changed files with 5 additions and 5 deletions

View file

@ -17,9 +17,9 @@
>
> See [Prop Access](https://webcomponent.io/prop-access/#boolean-props) for details.
[![Package information: NPM version](https://img.shields.io/npm/v/web-component-base)](https://www.npmjs.com/package/web-component-base)
[![Package information: NPM license](https://img.shields.io/npm/l/web-component-base)](https://www.npmjs.com/package/web-component-base)
[![Package information: NPM downloads](https://img.shields.io/npm/dt/web-component-base)](https://www.npmjs.com/package/web-component-base)
[![Package information: NPM version](https://img.shields.io/npm/v/web-component-base)](https://npmx.dev/package/web-component-base)
[![Package information: NPM license](https://img.shields.io/npm/l/web-component-base)](https://npmx.dev/package/web-component-base)
[![Package information: NPM downloads](https://img.shields.io/npm/dt/web-component-base)](https://npmx.dev/package/web-component-base)
[![Bundle Size](https://img.shields.io/bundlephobia/minzip/web-component-base)](#library-size)
🤷‍♂️ zero-dependency, 🤏 tiny JS base class for creating reactive [custom elements](https://developer.mozilla.org/en-US/docs/Web/API/Web_Components/Using_custom_elements) easily ✨

View file

@ -15,7 +15,7 @@ export default defineConfig({
{
icon: 'npm',
label: 'NPM',
href: 'https://www.npmjs.com/package/web-component-base',
href: 'https://npmx.dev/package/web-component-base',
},
{
icon: 'sourcehut',

View file

@ -40,7 +40,7 @@ Prefer starting on GitHub? The [`ayo-run/web-component`](https://github.com/ayo-
## Install via npm
To add wcb to an existing project instead of scaffolding a new one, install it from [npm](https://www.npmjs.com/package/web-component-base):
To add wcb to an existing project instead of scaffolding a new one, install it from [npm](https://npmx.dev/package/web-component-base):
```bash
npm i web-component-base