Skip to content

Commit

Permalink
docs(layout): fix installation
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jan 12, 2024
1 parent 6c5b7e3 commit 6dd62b7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/layout/Installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,25 @@ npx mui-treasury@latest clone layout-core
By default, the source code will be cloned to `src/mui-treasury/layout-core` unless you specify a `dir` in `<root-directory>/mui-treasury.config.js` file.

## Basic Usage

Import the layout components from the folder you cloned to your project.

```jsx
import {
Content,
EdgeSidebar,
EdgeTriggger,
Footer,
Header,
SidebarContent,
} from "path/to/layout-core";
```

The layout components support various type of application, for example:

- [Blog](/docs/layout-tutorials-blog--docs)
- [Dashboard](/docs/layout-tutorials-dashboard--docs)
- [Analytics](/story/layout-app-analytics--analytics)
- [Chat](/story/layout-app-messenger--messenger)
- [Documentation](/story/layout-app-reactlegacy--react-legacy)
- [E-commerce cart](/story/layout-app-shoppingcart--shopping-cart)

0 comments on commit 6dd62b7

Please sign in to comment.