Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duskmoon314/vite-vue3ts-eslint-prettier
A vite+vue3ts+eslint+prettier attempt
https://github.com/duskmoon314/vite-vue3ts-eslint-prettier
Last synced: 2 months ago
JSON representation
A vite+vue3ts+eslint+prettier attempt
- Host: GitHub
- URL: https://github.com/duskmoon314/vite-vue3ts-eslint-prettier
- Owner: duskmoon314
- Created: 2021-06-13T13:14:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T04:47:11.000Z (6 months ago)
- Last Synced: 2024-06-28T05:44:48.494Z (6 months ago)
- Language: Vue
- Size: 573 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vite vue3ts eslint prettier
A template of vite + vue3-ts project with eslint and prettier
`husky` and `lint-staged` are installed to force style
A simple Github Action to run `npm run build`, and configs of Renovate
## Develop
### `dev`
`vite`
Start vite dev server
### `build`
`vite build`
Build into `dist/`
### `serve`
`vite preview`
### `lint`
`eslint --ext .js,.vue src`
Check if any code does not comply with the rules
### `lint:fix`
`eslint --ext .js,.vue src --fix`
Not only check, but also fix
### `format`
`prettier --write .`
Use prettier to format