cd image-gallery-dapp
npm install --save-dev concurrently tailwindcss
npx tailwindcss init
tailwind.config.js
. Open this file in a text editor and enter the following content:package.json
file and in the scripts
section, replace the content with the following:app/root.tsx
file. Insert the following line at the top of the file:import tailwindCSS from "./tailwind.css";
app/root.tsx
file, enter the following function lines:npm run dev
localhost:3000
. By default, it’ll look like this:filebase-IPFS
.index.tsx
. In this file, insert the following code:IPFS_CID
values with your IPFS CID’s from the images you uploaded to Filebase.width
and height
values.desc
values and the alt
/ href
values.