npx nuxi@latest init -t github:dianprata/nuxt-shadcn-dashboard my-dashboard-app
cd my-dashboard-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpmYou can change the app settings in app.config.ts file.
If you want to change app settings, you have to clear cookie 'app_settings' first.
export default defineAppConfig({
appSettings: {
sidebar: {
collapsible: 'offcanvas', // 'offcanvas' | 'icon' | 'none'
side: 'left', // 'left' | 'right'
variant: 'inset', // 'sidebar' | 'floating' | 'inset'
},
theme: {
color: 'default', // 'default' | 'blue' | 'green' | 'orange' | 'purple' | 'red' | 'teal' | 'yellow' | 'rose'
type: 'scaled', // 'default' | 'mono' | 'scaled'
}
},
})
- Clone this repository.
- Install dependencies
pnpm install. - Use
pnpm run devto start dev server.
MIT
