A sample application show casing the vue.js elexis-server npm library
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:
vue-create vue-es-demo-project
default
on the question arisingcd vue-es-demo-project
vue add router
yes
on the question Use history mode for router?
vue add vuex
npm i @col.panic/vue-es -s
npm i pug-plain-loader
main.js
to @col.panic/vue-es#installation">install the plugincomponents/HelloWorld.vue
to use the pluginIn 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.