This project is a Next.js-based Chatbot UI.
- Node.js (Latest LTS recommended)
npm(packaged with Node.js)
Install the project dependencies using npm. Note that legacy peer dependencies are required due to some package version conflicts.
npm install --legacy-peer-depsTo start the development server locally:
npm run devThe application will be available at http://localhost:3000.
To build the application for production deployment:
npm run buildAfter building, you can start the production server:
npm run startIf you encounter issues with styles not loading:
- Ensure
postcss.config.jsandtailwind.config.jsare configured correctly (CommonJS format). - Try clearing the Next.js cache:
rm -rf .nextand restarting the server.