Dynamically fetch the component itself externally.
- Run
python cors_server.py --port <available-port>or usepyinstead ofpython.
- Create an
.envfile that contains:
VITE_DATA_URL=<python-serving-data-url>- Run
npm install - Run
npm run dev
- NodeJS
- Python
The following is a list of installed dependencies and configuration settings used in this project.
You don’t need to install anything manually, as all dependencies are already managed through package.json.
This section is provided for reference only, to give you insight into how the project was set up.
npm install tailwindcss @tailwindcss/vite
- Update
vite.config.ts:import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [ tailwindcss(), ], })
