Fixed debug app for example custom element

This commit is contained in:
Joel Collins 2020-03-31 16:24:41 +01:00
parent a9239ab898
commit 0c695a377c
12 changed files with 1157 additions and 42 deletions

View file

@ -0,0 +1,22 @@
# Example Web Component using Vue framework
## Structure
### Web component
* `/src/components/VueWebComponent.vue`
### Debug app
* For debugging purposes, the component can be mounted into a demo app
* `/src/App.vue` and `/src/main.js` provide demo app functionality, and do not affect the final built web component
## Building
* Run `npm run build`
## Debugging
* Run `npm run serve` to serve the demo app. This can be used to debug the component. Note, the base URL will be set to it's default value of a localhost microscope server