Add a .env
file to the root of the project with the following contents:
VITE_APP_NAME="My Chatbot Name"
VITE_AGHQ_API_ACCESS_TOKEN=your_aghq_api_access_token
VITE_AGHQ_AGENT_ID=your_aghq_agent_id
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint