Starter Kit
Starter-kit is a minimal template from where you can start your project quickly instead of removing stuff that isn't needed. Below are quick notes on the starter-kit:
- No Auth
- No Dashboard
- No Apps
- No Pages
- No Elements
Folder Structure
Learn about the folder structure of the Starter Kit and its contents.
|
ββ app
β ββ (dashboard)
β β |-layout.jsx
β β |-main-layout.jsx
β β |-page.jsx
β β
β ββ api
β ββ assets
β |- favicon.ico
β |- layout.jsx
β |- not-found.js
β
ββ components
β ββ landing-page
β ββ partials
β ββ svg
β ββ ui
| |-blank.jsx
β |-dashboard-select.jsx
β |-dashboard-dropdown.jsx
β |-date-picker-with-range.jsx
β |-delete-confirmation-dialog.jsx
β |-error-block.jsx
β |-header-search.jsx
β |-layout-order.jsx
β |-ripple.jsx
|
ββ config
ββ hooks
ββ lib
β ββ docs
β |-appex-chat-options.jsx
β |-auth.js
β |-utils.js
β
ββ provider
ββ public
ββ store
|- .env.local
|- .gitignore
|- jsconfig.json
|- middleware.js
|- next.env.d.ts
|- next.config.js
|- package-lock.json
|- package.json
|- README.md
|- postcss.config.js
|- tailwind.config.js
|- theme.config.js
|- yarn.lock
Theme Configuration
Configuring themes in Dashcode is incredibly simple. The primary configuration file is type.ts. Inside the type.ts file, you can set up your theme, layout, sidebar type, sidebar color, and more. Refer to the code snippet below for all available options.
hooks/use-config.ts
export const Config = {
"collapsed": false,
"theme": "violet",
"skin": "default",
"layout": "vertical",
"sidebar": "draggable",
"menuHidden": false,
"showSearchBar": true,
"topHeader": "default",
"contentWidth": "wide",
"navbar": "sticky",
"footer": "sticky",
"isRtl": false,
"showSwitcher": true,
"subMenu": false,
"hasSubMenu": false,
"sidebarTheme": "redwood",
"headerTheme": "light",
"radius": 0.5
};