No configuration or complicated folder structures, just the files you need to build your app:
react-custom-auto-complete
├── node_modules
├── public
└── vite.svg
└── src
├── assets
├── components
└── hooks
├── App.css
├── App.jsx
├── index.css
└── index.jsx
├── .gitignore
├── index.html
├── package.json
├── yarn.lock
├── README.md
├── vite.config.js
To get a local copy of the code, clone it using git:
git clone https://github.com/alirezaaminii/react-custom-auto-complete.git
cd react-custom-auto-compelte
Make it your own:
rm -rf .git && git init && yarn init
git add .
git commit -m "Initial commit"
Install dependencies:
yarn i
Now, you can start a local web server by running:
yarn dev
And then open http://localhost:5173 to view it in the browser.
In this project, you can run the following scripts:
Script | Description |
---|---|
yarn run dev | Runs the app in the development mode. |
yarn run build | Builds the app for production to the dist folder. |
yarn run preview | Serves the production build from the dist folder. |