Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tvc12/viu-ts
Boilerplate template for vue3 using typescript, pinia, vue-router and vite
https://github.com/tvc12/viu-ts
cypress hacktoberfest hacktoberfest2023 pinia unit-testing vite vue3 vue3-typescript vuejs
Last synced: 2 days ago
JSON representation
Boilerplate template for vue3 using typescript, pinia, vue-router and vite
- Host: GitHub
- URL: https://github.com/tvc12/viu-ts
- Owner: tvc12
- License: mit
- Created: 2023-06-27T03:14:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-24T02:11:55.000Z (about 1 year ago)
- Last Synced: 2023-10-24T03:28:16.987Z (about 1 year ago)
- Topics: cypress, hacktoberfest, hacktoberfest2023, pinia, unit-testing, vite, vue3, vue3-typescript, vuejs
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# viu-ts
Boilerplate template for vue3 using typescript, pinia, vue-router, vite, vitest and cypress
### Template
+ [ ] [Vue3](https://vuejs.org/)
+ [ ] [Typescript](https://www.typescriptlang.org/)
+ [ ] [Web Worker](https://www.npmjs.com/package/web-worker)
+ [ ] [Dependency Injection](https://www.npmjs.com/package/typescript-ioc)
+ [ ] [Pinia](https://pinia.vuejs.org/)
+ [ ] [Router](https://router.vuejs.org/)
+ [ ] [Vite](https://vitejs.dev/)
+ [ ] [Vitest](https://vitest.dev/)
+ [ ] [Cypress](https://www.cypress.io/)
+ [ ] Sass
+ [ ] Logger### How to start app
+ File main.ts will look a like
```ts
// main.ts
new ViuApp()
.setModules('development', new HttpModule(), new AuthModule())
.setModules('production', new HttpWebWorkerModule(), new AuthModule())
.setLogLevel('development', LogLevel.Debug)
.setLogLevel('production', LogLevel.Error)
.use(router)
.use(pinia)
.use(CommonComponents)
.setMainScreen(App)
.setName('viu-ts')
.mount('#app')
.start(import.meta.env.MODE)
```### License
[MIT@tvc12](./LICENSE)