Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duskmoon314/vite-vue3-eslint-prettier
A vite+vue3+eslint+prettier attempt
https://github.com/duskmoon314/vite-vue3-eslint-prettier
Last synced: 29 days ago
JSON representation
A vite+vue3+eslint+prettier attempt
- Host: GitHub
- URL: https://github.com/duskmoon314/vite-vue3-eslint-prettier
- Owner: duskmoon314
- Created: 2021-02-23T13:14:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T04:23:41.000Z (4 months ago)
- Last Synced: 2024-06-28T05:31:41.678Z (4 months ago)
- Language: Vue
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vite vue3 eslint prettier
A template of vite + vue3 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