This is a demo that SpreadJS working with ChatGPT by Vue 3 in Vite. Main project is TypeScript, but deisnger config is JavaScript which is easier for more users copy the code.
Please add your ChatGPT apiKey in ./src/components/openai.ts file. This is just a demo, for security reasons, openai api should be called on the backend. Don't public your apiKey.
See SpreadJS 产品文档.
npm install
npm run dev
npm run build