A Vue 2.x simple cryptocurrencies demo widget with real-time data updates.
-
Built using
webpack
starter invue-cli
(Vue CLI 2) -
Quotes are obtained from CryptoCompare through its streaming API (Documentation here). Cryptocompare also provides a javascript library with some utility functions to map the responses, which is included in index.html as an external js file.
-
API connection is established using vue-websocket, a socket.io plugin for Vue.js
To start:
$ npm install
To develop:
$ npm run dev
To build for production:
$ npm run build