Welcome to viz.cx. It's a Progressive Web App for interacting with VIZ blockchain.
You will need the following things properly installed on your computer.
You should also be familiar with TypeScript which we use for this project. This helps give you more guidance as you code from intellisense when using VSCode.
We recommend the following tools for your dev setup:
- Editor: VSCode
- Terminal: Windows Terminal or hyper
- PWABuilder VSCode extension: PWABuilder VSCode extension
- lit-html VSCode extension: lit-html VSCode extension
Run npm install
and then run npm run dev
, the starter should open in your default browser. From here you can start developing, your changes will be rebuilt and reloaded in the browser as you develop.
Make sure the index.prod.html
and manifest.json
files are updated to your liking and then run npm run build:prod
, the dist/
folder will contain your built PWA. The production build will also generate a pre-caching service worker using Workbox and handles that service worker using the PWABuilder pwa-update component web component.