mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-04-29 05:57:50 +02:00
refactor: improve setup and maintainability (#1067)
This commit is contained in:
+28
-16
@@ -1,27 +1,39 @@
|
||||
## Project setup
|
||||
# catalyst
|
||||
|
||||
```
|
||||
yarn install
|
||||
This template should help get you started developing with Vue 3 in Vite.
|
||||
|
||||
## Recommended IDE Setup
|
||||
|
||||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
||||
|
||||
## 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 [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
||||
|
||||
## Customize configuration
|
||||
|
||||
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
||||
|
||||
## Project Setup
|
||||
|
||||
```sh
|
||||
bun install
|
||||
```
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
### Compile and Hot-Reload for Development
|
||||
|
||||
```
|
||||
yarn serve
|
||||
```sh
|
||||
bun dev
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
### Type-Check, Compile and Minify for Production
|
||||
|
||||
```
|
||||
yarn build
|
||||
```sh
|
||||
bun build
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
### Lint with [ESLint](https://eslint.org/)
|
||||
|
||||
```sh
|
||||
bun lint
|
||||
```
|
||||
yarn lint
|
||||
```
|
||||
|
||||
### Customize configuration
|
||||
|
||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
||||
|
||||
Reference in New Issue
Block a user