An open API service indexing awesome lists of open source software.

https://github.com/vilaboim/vue-web-component-boilerplate

Boilerplate to generate a web component based on Vue using Webpack and @vue/web-component-wrapper
https://github.com/vilaboim/vue-web-component-boilerplate

vue webcomponent webpack

Last synced: about 2 months ago
JSON representation

Boilerplate to generate a web component based on Vue using Webpack and @vue/web-component-wrapper

Awesome Lists containing this project

README

          

# Vue Web Component Boilerplate

## Boilerplate to generate a web component based on Vue using Webpack and @vue/web-component-wrapper

### How to build your component

- Put your components inside `src` folder

- Run `yarn build --component=App`

- Go to the `dist` folder to check your web component

### Options

|Name|Type|Default|Description|
|:--:|:--:|:-----:|:----------|
|**`--component`**|`{String}`|`App`|Name of your component|
|**`--libName`**|`{String}`|`App`|Name of your library|
|**`--externalize`**|`{Boolean}`|`false`|Externalize Vue|