shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
69.09k stars 4.1k forks source link

About dashboard template #952

Closed yavuzbolat closed 2 months ago

yavuzbolat commented 1 year ago

How can i use the dashboard template for next?

servesh-chaturvedi commented 1 year ago

Here is an implemetation

joeylin commented 1 year ago

@servesh-chaturvedi is there live demo ?

yavuzbolat commented 1 year ago

Here is an implemetation

But how? How can i setup the structure? Vs code is saying lots of miss lib when I just copy that template

servesh-chaturvedi commented 1 year ago

If you are developing in next.js, you can use npx create-next-app -e https://github.com/shadcn/next-template as starter. Otherwise, the docs can be followed.

plbstl commented 1 year ago

@yavuzbolat the example uses next13 app router. if you are using the pages router, you would need to refactor a bit

@joeylin the homepage on desktop shows live demos of the examples. you can also directly go here https://ui.shadcn.com/examples/dashboard

yavuzbolat commented 1 year ago

@yavuzbolat the example uses next13 app router. if you are using the pages router, you would need to refactor a bit

@joeylin the homepage on desktop shows live demos of the examples. you can also directly go here https://ui.shadcn.com/examples/dashboard

Not get it, im trying to use only dashboard template but always having problem not debuging while using npm run dev.

plbstl commented 1 year ago

@yavuzbolat you can manually install the missing libs check your import statements and install the libs vscode complains of

shadcn commented 2 months ago

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.