- Node (v20.15.0 recommended)
- git
- pnpm (v8.5.1 recommended)
- usually node comes with npm, if so, use
npm install pnpm
- usually node comes with npm, if so, use
- Clone this repository using
git clone https://github.com/Nisarg851/HumberChatbot.git
- Move into project folder
- run
pnpm install
to install all the required dependencies. - run
pnpm run dev
to run the application in developer mode.
Note: At this point the project should be ready, below information is only for exploration (provided by Vite) and isn't necessary for project setup!
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list