All Questions
Tagged with tailwind-css node.js
157
questions
0
votes
1
answer
41
views
"Each child in a list should have a unique 'key' prop", I don't understand how to do it [duplicate]
Hi so I have an assignment from my school, it has something to do with data fetching from randomuser.me and as I have followed the steps that were taught, I stumbled upon this sentence written on the ...
0
votes
0
answers
32
views
What does mean the ´@´?
I have searched on the web but without any result … I am learning next js and in the demo, there are some code like this in order to import css or icons …
import '@/app/ui/global.css';
I don’t ...
1
vote
0
answers
23
views
I want to keep the same ratio for the pictures in this astro.build component
The ratio of the picture for this component when the width of the browser becomes less than 1178 pixels, then it changes ratio from 9:16 (Vertical) to 16:9 (Horizontal). However, I tried to see how I ...
0
votes
1
answer
55
views
How to purge unused tailwind css and custom css given a string of HTML
I have a string of HTML. For example, like this
const html = '<html><body><div class="card bg-red-500"></div></body></html>'
I also have a bunch of CSS ...
0
votes
0
answers
57
views
Why is TailwindCSS not being applied to things inside of my body tag?
I am using NodeJs, TailwindCSS, and ExpressJS to build a personal website. I am pretty new to this. I have an index.ejs file:
<!DOCTYPE html>
<html>
<head>
<title><%= data....
1
vote
1
answer
40
views
Tailwind config node_modules content property in yarn workspace monorepo
Hi I have a Yarn workspaces moonorepo. My structure is as follows:
node_modules
-- @domain/mypackage
sources
-- app1
-- -- src
-- -- -- components
-- -- -- -- ...
-- -- tailwind.config.js
-- app2
...
0
votes
0
answers
57
views
Modules not found when installing Tailwind or any framework
I succesfully installed Node.js on my PC and I'm trying to install TailwindCSS using TailwindCLI, via npm. I had run the command in the VSCode terminal, and the error shown below occured.
node:...
0
votes
1
answer
67
views
how to add icon tag inside of a textinput
Here I created a div class under the div class add a img tag which is work for showing the profile pic. After that we can see a <TextInput> with some css. Outside of this <TextInput/> have ...
0
votes
0
answers
32
views
I was making my My code responsive using tailwind and it isn't starting no more
Error: Got unexpected undefined
at nullthrows (E:\PranishBista Intellij Assignment Tailwind\node_modules\nullthrows\nullthrows.js:7:15)
at RequestGraph.invalidateOptionNodes (E:\PranishBista ...
0
votes
0
answers
49
views
Next.js Modal Component not overlaying
I'm having problems with the modal component, to contextualize before I have 2 main components DefaultLayout that receive the standard layout components (sidemenu, header) ... and Ecommerce receives ...
0
votes
1
answer
19
views
react page not rendering
i have a hero component file in a component folder outside the src folder, then i have an admin folder inside the src folder where there is a file called AdminHome. Now i have been trying to import ...
0
votes
1
answer
99
views
I was trying this generate image from the delle open ai api but I am getting an error
Code:
import { useState } from "react";
import axios from "axios";
function App() {
const [prompt, setPrompt] = useState("");
const [result, setResult] = useState(...
0
votes
0
answers
48
views
Transform PPTX file to HTML using Tailwind CSS for design
I have a powerpoint file and i need to convert each slide into HTML and need to use tailwind CSS for the design part.
I tried converting using npm module pptx but did not work. I tried following code -...
0
votes
1
answer
27
views
Tailwind config for indirect dependency
According to the official documentation
If you’ve created your own reusable set of components that are styled with Tailwind and are importing them in multiple projects, make sure to configure ...
0
votes
1
answer
22
views
Get an ENOTDIR Error if I want to build a Tailwindcss CSS-file
I installed Node and checked if it's up and running on my Mac. After that I created a folder with all the required files and installed and initialized Tailwindcss there. Than I did all the steps from ...