Hammad Hamdani
KPCKevin Powell - Community
•Created by Hammad Hamdani on 12/31/2023 in #front-end
Why Next local server is not working 😔?
When I run npm run dev in the terminal it doesn't show any error and my Next project starts running at port: 3000.
When open localhost:3000 in my browser it keeps loading and then show unable to connect. Please me anybody.
21 replies
KPCKevin Powell - Community
•Created by Hammad Hamdani on 12/27/2023 in #front-end
Needed help regarding Next Js and shadcn UI
Can anybody tell me that how I can handle active state of navbar element in next js or shadcn library. Just like we can do in Link component of react router using active props.
But I want to ask that how I can do this in next js or shadcn.
1 replies
KPCKevin Powell - Community
•Created by Hammad Hamdani on 11/29/2023 in #os-and-tools
How to create Custom Project Templates in Webstrom IDE
Hi Devs! If anyone of you is using Webstrom IDE than you must know that it provides project templates for React, Vue, Express etc and we can create projects from these.
Can anyone guide me on how to I can create custom Project Templates like that?
2 replies
KPCKevin Powell - Community
•Created by Hammad Hamdani on 11/29/2023 in #back-end
How to create Custom Project Templates in Webstrom IDE
Hi Devs! If anyone of you is using Webstrom IDE than you must know that it provides project templates for React, Vue, Express etc and we can create projects from these.
Can anyone guide me on how to I can create custom Project Templates like that?
3 replies
KPCKevin Powell - Community
•Created by Hammad Hamdani on 11/28/2023 in #front-end
@ directive in react
I have seen some using this way to import components in his file.
@/components/component
Can anyone tell me how he is doing this:
@/components
11 replies