Vue Web Component

This template should help get you started developing Web Components with Vue and Vite.

Note: this project does not provide guidance on how to release a Web Component

Recommended IDE Setup

Development

Get a copy of the repository, e.g. by cloning it from the following location:

git clone https://github.com/gappc/vue-webcomponent.git

Change directory:

cd vue-webcomponent

Install node modules:

npm install

Start the development server:

npm run dev

Build

Run the following command to build the project:

npm run build

The result can be found in the dist folder, the Web Component itself is the .js file in the dist/assets folder.