Notes on regular UI Bhagavad Gita Nextjs web app. built on top of very simple Gita app.
Last updated on 3 Jul. 2024 Now I am starting the next step of using Tailwind and TypeScript in my very simple Gita app and make it a regular web app. (regular web app UI + tighter and more robust code by using TypeScript). But it no longer will be a very simple Gita app. as the coding complexity will surely increase. First step is to add Tailwind to the existing project. Note that TypeScript is already setup in the project. It was just that I did not use it - I used .js/.jsx files instead of .ts/.tsx files. But Tailwind is not part of the very simple Gita app project. Based on: Setting up Tailwind CSS in a Next.js project section in https://tailwindcss.com/docs/guides/nextjs : To install Tailwind CSS: npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p The above commands executed without any issues. Tailwind and postcss config files were created. --- Configure template paths: I used: content: [ "./app/**/*.{js,ts,jsx,tsx,mdx}", "./pages/