Vue Library Template

screenshot of Vue Library Template

Webpack setup for building & publishing a Vue component/library (with docs/demo site) for other developers to import into their projects. Uses Vue-cli and is based on the Vuejs webpack template.

Overview

The vue-library-template is a Vue-cli template that is based on the Vuejs full-featured Webpack setup. It is specifically adjusted for library development, allowing users to create components that can be easily imported into other projects via npm. The template also includes a documentation site feature, enabling users to release documentation online for their library. It is compatible with Vue 2.x.

Features

  • Easily build and publish components for other people to include in their projects.
  • Optional inclusion of Sass/SCSS, Stylus, Pug (Jade), Buefy/Bulma.
  • Ability to easily build a single page application (SPA) for a docs/demo site to showcase the library.
  • Simultaneous package development, allowing users to build and write changes to disk when running the dev-server. This is particularly useful when developing packages simultaneously where one package depends on the other.

Summary

The vue-library-template is a powerful tool for Vue developers who are looking to create reusable components and libraries. It provides an easy-to-use and customizable setup that allows users to build, publish, and showcase their components efficiently. With features such as simultaneous package development and a documentation site, the template streamlines the development process and enhances the overall productivity of the developer.