Skip to content

PotLock/memes

 
 

Repository files navigation

everything browser

Setup & Development

Install packages:

yarn

Start development version:

yarn dev

This will start both the gateway and http server for loading your local components.

To view your local developments, either visit them through a gateway ${gateway_url}/flags

For example, to use this local gateway, use:

Breakdown

App.js

  • Configure custom elements in the VM
  • Add a route to the gateway

ViewPage.js

  • Access query params and render widget

Custom Elements

Camera : react-webcam

react-webcam components/custom/Camera https://everything.dev/efiz.near/widget/Camera

MonacoEditor : monaco-editor/react

monaco-editor/react components/custom/MonacoEditor https://everything.dev/efiz.near/widget/MonacoEditor

TODO: Can switch to https://github.com/react-monaco-editor/react-monaco-editor

KeypomScanner : keypom

keypom components/custom/KeypomScanner https://everything.dev/scanner

Contributing

Extending the gateway with a custom component:

  • Install library
  • Create component in /components/common
  • Add component as custom element in App.js

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.3%
  • HTML 1.8%
  • SCSS 1.8%
  • CSS 1.1%