1.5.0 • Published 5 years ago

ui-vue-core v1.5.0

Weekly downloads
-
License
AGPL-3.0-only
Repository
-
Last release
5 years ago

ui-vue-core

This library includes the core libraries for the evan.network ui development using vue js. Within the dapps folder, you will find the evancore.vue.libs dapp, that includes evan specific vue implementations and is published under @evan.network/ui-vue-core.

All other dapps are constructed simply, to exclude the wanted library and map the correct original package name. E.g.: The vue-material library is published using the ens address material.vue.libs.evan. Within the DBCP of the using DApp, this lib is referenced within the dbcp.json as dependency. Within the application it self, vue-material can be imported normally using import VueMaterial from 'vue-material'. Within the webpack configuration, the vue-material import can be exported, to reduce the bundle size.

Available libraries:

originalens address
axiosaxios.vue.libs.evan
evancore.vue.libsevancore.vue.libs.evan
vuex-i18ni18n.vuex.libs.evan
vue2-leafletleaflet.vue.libs.evan
vue-momentmoment.vue.libs.evan
vue-recaptcharecaptcha.vue.libs.evan
vue-routerrouter.vue.libs.evan
vuevue.libs.evan
vuexvuex.libs.evan

Install

  • use yarn install or npm install

UI Development

npm run serve
  • build all dapps
npm run dapps-build
  • serve for file change tracking
npm run dapps-serve
  • VueJS is optimized using the a production build, that is not only build by minification. Append the --prod configuration to achive this: npm run dapps-build --prod or npm run dapps-serve --prod.

Deployment

Have a look at the deployment description.