Go to file
mutoe ece4466b7a
fix: Add error handling to Settings form
This commit adds error handling to the settings form in the Settings.vue page. A new 'errors' object has been introduced to capture and display errors returned from the API. The onSubmit event also has been modified for handling a try/catch block for potential API errors.
The associated unit test was updated to ensure proper behavior when an API error is returned.
This improvement aims to provide a better user experience by clearly communicating issues with the user's changes.

close #58
2023-09-08 16:53:38 +08:00
.github ci: fix unit test pipeline 2023-09-08 11:15:13 +08:00
cypress test: fix cypress e2e tests 2023-09-08 11:15:13 +08:00
public chore: initial 2020-09-27 22:58:53 +08:00
src fix: Add error handling to Settings form 2023-09-08 16:53:38 +08:00
.editorconfig refactor: organize the import format 2021-02-27 18:02:25 +08:00
.env chore: update API domain (#75) 2021-12-06 18:25:16 +08:00
.eslintrc.js style: update eslint rules 2023-09-08 16:17:47 +08:00
.gitignore refactor: upgrade vue and vue-tsc 2022-06-08 22:32:59 +08:00
FRONTEND_INSTRUCTIONS.md chore: update domain for fixture and FRONTEND_INSTRUCTIONS 2021-12-17 20:09:45 +08:00
LICENSE Create LICENSE 2021-04-22 22:30:49 +08:00
README.md Update badges 2022-12-22 15:22:20 +08:00
cypress.config.ts test: fix cypress e2e tests 2023-09-08 11:15:13 +08:00
index.html chore: udpate domain 2021-12-06 18:30:55 +08:00
logo.png docs: add realworld readme 2020-09-27 23:52:23 +08:00
package.json chore: Update TypeScript and vue-tsc versions 2023-09-08 16:35:39 +08:00
pnpm-lock.yaml chore: Update TypeScript and vue-tsc versions 2023-09-08 16:35:39 +08:00
tsconfig.json test: fix cypress e2e tests 2023-09-08 11:15:13 +08:00
tsconfig.node.json test: fix cypress e2e tests 2023-09-08 11:15:13 +08:00
vite.config.ts test: add settings page tests 2023-09-08 11:15:13 +08:00

README.md

RealWorld Example App

Codecov branch GitHub Workflow Status (branch) GitHub Workflow Status (branch)

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?

Getting started

pnpm install

# Development
pnpm dev

# Build dist
pnpm build

# Run unit tests
pnpm test:unit
pnpm test:unit:ci

# Run E2E tests
pnpm test:e2e
pnpm test:e2e:ci

Contributors

Made with contributors-img.

Sponsor

Thanks JetBrains for providing IDE support!