vue3-realworld-example-app
vue3-realworld-example-app copied to clipboard
Explore the charm of Vue composition API! Vite?
Vue3 codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Vue3 including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Vue3 community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
What works?
- [x] Vite
- [x] Composition API
- [x] SFC <script setup> sugar
- [x] Suspense (Experimental)
- [x] Vue router
- [x] Pinia for state management
- [x] TypeScript and Vue tsc for static analysis
- [x] ESLint for syntax checking and code styling
- [x] Component test (Cypress component testing)
- [x] E2E test (Cypress)
Getting started
yarn install
# Development
yarn dev
# Build dist
yarn build
# Run unit tests
yarn test:unit
yarn test:unit:ci
# Run E2E tests
yarn test:e2e
yarn test:e2e:ci
Contributors
Made with contributors-img.
Vue related implementations of the Realworld app
- gothinkster/vue-realworld-example-app - vue2, js
- AlexBrohshtut/vue-ts-realworld-app - vue2, ts, class-component
- devJang/nuxt-realworld - nuxt, ts, composition api
- levchak0910/vue3-ssr-realworld-example-app - vue3, ssr
Sponsor
Thanks JetBrains for providing IDE support!
