socket-chatroom/frontend
dependabot[bot] 09ef7f96e1
Bump json5 from 2.2.1 to 2.2.3 in /frontend
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 04:04:03 +00:00
..
.vscode Initial commit 2022-11-21 22:53:53 +08:00
public Initial commit 2022-11-21 22:53:53 +08:00
src Highlight current user 2022-11-27 01:07:59 +08:00
wailsjs Set server and fetch client occassionally 2022-11-26 22:17:05 +08:00
.eslintrc.cjs Initial commit 2022-11-21 22:53:53 +08:00
.gitignore Initial commit 2022-11-21 22:53:53 +08:00
.prettierrc.json Initial commit 2022-11-21 22:53:53 +08:00
README.md Initial commit 2022-11-21 22:53:53 +08:00
env.d.ts Initial commit 2022-11-21 22:53:53 +08:00
index.html Initial commit 2022-11-21 22:53:53 +08:00
package-lock.json Bump word-wrap from 1.2.3 to 1.2.4 in /frontend 2023-07-20 01:57:29 +00:00
package.json Bump vite from 3.1.4 to 3.2.7 in /frontend 2023-06-06 02:44:34 +00:00
package.json.md5 Two conversation types and conversation item component 2022-11-22 08:58:42 +08:00
pnpm-lock.yaml Bump json5 from 2.2.1 to 2.2.3 in /frontend 2023-08-03 04:04:03 +00:00
postcss.config.js Initial commit 2022-11-21 22:53:53 +08:00
tailwind.config.cjs Initial commit 2022-11-21 22:53:53 +08:00
tsconfig.config.json Initial commit 2022-11-21 22:53:53 +08:00
tsconfig.json Use conversation bubble from Internet 2022-11-22 20:29:10 +08:00
vite.config.ts Initial commit 2022-11-21 22:53:53 +08:00

README.md

frontend

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

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.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint