This project demonstrates the usage of the Elexis-Server (ES) vue.js plugin.
npm install
npm run serve
This project was set-up by executing the following steps:
- Install vue-cli
vue-create vue-es-demo-project- Select
defaulton the question arising cd vue-es-demo-projectvue add router- Select
yeson the questionUse history mode for router? vue add vuexnpm i @col.panic/vue-es -snpm i pug-plain-loader- Modify
main.jsto install the plugin - Modify
components/HelloWorld.vueto use the plugin
In order to run it, you need an Elexis-Server running on es.localhost, which is essentially the same IP as localhost. The reason the server has to run on es.localhost is that HSTS is being
activate the first time you access the ES, forcing any further communication over TLS. So as not to block your own app, running
on localhost we have to point to a different localhost name.