Skip to content

Files

Latest commit

author
Karl Ludwinski
Nov 27, 2024
8b64756 · Nov 27, 2024

History

History
29 lines (19 loc) · 573 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 573 Bytes

Vue App with Library

This is an example of a Vue app where components can be exported as a package to be included in other projects.

It is a new project created using npm init vue@latest and then tweaked to export the HelloWorld.vue component following the steps in the Vite Library Mode docs.

Project Setup

npm install

Compile app and Hot-Reload for Development

npm run dev

Compile app and Minify for Production

npm run build

Build library

npm run build-lib