Publish Vue.js component as library on npmjs

Опубликовано: 10 Май 2025
на канале: benixal
1,247
14

Create a component and publish it on npmjs.org as library with Vue CLI

Source : https://github.com/benixal/Vue-first-...
Live demo : https://stackblitz.com/edit/vue-ljp8ma
Published : npmjs.com/package/benixalfirstlib

00:05 install Vue CLI
00:16 create Vue component
02:18 check component on local
02:28 build library
03:35 prepare for publish
04:14 choose package name
05:00 login to npmjs.org
05:43 publish package to npm
06:40 install and check the package