npm install
npm run dev
- Starts a local web server with HMR for developmentnpm run build
- Build and output to./dist
npm run preview
- Starts a local web server that serves the built solution from./dist
To add new links to the application, update the src/assets/links.json
file. Each link object should contain the following properties: text
, websiteLink
, imageFile
, and optionally username
. Here's an example of a link object:
{
"text": "Example",
"websiteLink": "https://example.com/",
"imageFile": "example-icon.svg",
"username": "optionalUsername"
}
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
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 Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.