$ npm i- Copy
.env.exampleand rename to.env. Add the correctVITE_BACKEND_URLvalue. $ npm run dev
The vite server will run an HTTPS version of the app at https://localhost:5173
- text: Arial
- txid: monospace
- wallet key: monospace
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
- SDK generated with
npm init vue - dev server: Vite
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:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.