Background: Currently, the ChatGPT project usually puts the front-end and back-end code in the same project, which requires compilation and running, and uses advanced features such as TypeScript. For novice users, it is difficult to get started, especially for Vue-related projects that are relatively rare.
Therefore, we have developed this project, which can simplify the process of learning and using the ChatGPT API.
- Using simple HTML + Script, combined with Vue 3 + Options API implementation
- The code is not compiled or compressed, and can be debugged directly in the production environment
- The interface and experience are modeled after the ChatGPT official website
This project is only the front-end part and needs to be used with the server service.
We recommend using the API service project: https://github.com/ddiu8081/chatgpt-demo
npm i
npm run dev
The above is the development command for this project.