Skip to content

MetaweaveTeam/arNotify

Repository files navigation

arNotify

Getting started

  1. $ npm i
  2. Copy .env.example and rename to .env. Add the correct VITE_BACKEND_URL value.
  3. $ npm run dev

The vite server will run an HTTPS version of the app at https://localhost:5173

Theme guidelines

Fonts

  • text: Arial
  • txid: monospace
  • wallet key: monospace

Colors

buttons & links:

  • primary: #bc00ff
  • secondary: #f817b5

Backgrounds & text:

  • white: #ffffff
  • white alt: #f9f9f9
  • white alt 2: #f3f4ff
  • black: #000000
  • black alt: #18152e
  • black alt 2: #0c0e33

Resources and configurations

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.