Skip to content

yousef-langaran/Template-MicroFront-Vue

Repository files navigation

Micro Component Template Vue + Vite

A ready-made template for making vue3 components for the ease of publishing packages in npm and...

Setup

  1. Build your component in the lib folder
  2. Customize your component name (in the package.json files and in the lib folder of the main.ts file)
  3. To test and display the component you made, you can use it in the App.vue file and at the end, click yarn dev or npm run dev and start the project.

Publish npm

  1. use npm run build or yarn build
  2. use npm adduser
  3. use npm publish

After going through the above steps, your component is published in npm and you can install it in any project you want with the following command npm instll componante-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published