Add vue-identicon (#178)

* Add vue-identicon

* Remove generated file

* Add links to reactnative & vue identicons

* Update package.json

* Update Jdenticon.vue

* Update Polkadot.vue

* Move deps around

* Empty on error

* Build to build

* ... typo

* Fix vue-identicon doc generation

* Ok, I give up... vuepress and vue packages, no luck

* Swap to TypeScript components (aligning with polkadot-js)

* Expand template with build

* Adjust vue examples

* debump gh-pages dep

* Expand doc. desc.

* Fix vuepress docs generation

* Address CC complexity

* eslint fix (babel config)

* Add Bechball
This commit is contained in:
Jaco Greeff
2019-08-06 13:15:10 +02:00
committed by GitHub
parent 32d03bdfa8
commit 85a8a3a0ee
58 changed files with 883 additions and 129 deletions
+14 -3
View File
@@ -1,3 +1,14 @@
module.exports = {
extends: '@polkadot/dev-react/config/babel'
};
/* eslint-disable @typescript-eslint/no-var-requires */
const base = require('@polkadot/dev-react/config/babel');
module.exports = Object.keys(base).reduce((config, key) => {
config[key] = base[key];
if (key === 'plugins') {
config[key] = config[key].concat([
'transform-vue-template'
]);
}
return config;
}, {});