Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fazulk/vue3-ts-boilerplate
Vue3 boilerplate with storybook, unit testing, generators, typescript, pinia, vue-router
https://github.com/fazulk/vue3-ts-boilerplate
storybook typescript unit-tests vite vuejs
Last synced: 30 days ago
JSON representation
Vue3 boilerplate with storybook, unit testing, generators, typescript, pinia, vue-router
- Host: GitHub
- URL: https://github.com/fazulk/vue3-ts-boilerplate
- Owner: fazulk
- License: mit
- Created: 2022-01-04T22:07:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T00:57:36.000Z (almost 2 years ago)
- Last Synced: 2024-12-15T16:44:38.573Z (about 1 month ago)
- Topics: storybook, typescript, unit-tests, vite, vuejs
- Language: Vue
- Homepage:
- Size: 2.08 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vue3 TS Boilerplate (slim)
The goal of this project is to effectively add minimal dependencies that actually work for the vue/ts/vite ecosystem. No `insane` animation libraries here!
- vue3
- typescript
- pinia for state mgmt
- vue-router
- eslint
- prettier
- storybook
- unit tests/code cov (vitest & testing library)
- generators (plop)testing & storybook examples: `src/components/examples`
## Project Setup
use yarn
node 16```sh
yarn
```## Compile and Hot-Reload for Development
```sh
yarn dev
```## Type-Check, Compile and Minify for Production
```sh
yarn build
```## Deploy
```sh
.. coming soon ..
```## Storybook
With interaction testing
```sh
yarn storybook
```## Unit Tests
Using Vitest
```sh
yarn test
```## Generate new files
Create new Components/Views/Stores
By default adds a unit test and includes option to add story.```sh
yarn generate
```