Unverified Commit fe58716d authored by Sendya's avatar Sendya

update README.md

parent 20fbc790
...@@ -19,6 +19,8 @@ npm i @ant-design-vue/pro-layout@next -S ...@@ -19,6 +19,8 @@ npm i @ant-design-vue/pro-layout@next -S
## Basic Usage ## Basic Usage
look [Examples](./examples/)
First, you should add the `@ant-design-vue/pro-layout` that you need into the library. First, you should add the `@ant-design-vue/pro-layout` that you need into the library.
```js ```js
...@@ -52,7 +54,7 @@ After that, you can use pro-layout in your Vue components as simply as this: ...@@ -52,7 +54,7 @@ After that, you can use pro-layout in your Vue components as simply as this:
import { defineComponent, reactive } from 'vue'; import { defineComponent, reactive } from 'vue';
// import { getMenuData, clearMenuItem } from '@ant-design-vue/pro-layout'; // import { getMenuData, clearMenuItem } from '@ant-design-vue/pro-layout';
const locale=(i18n: string) => i18n; const locale = (i18n: string) => i18n;
export default defineComponent({ export default defineComponent({
setup() { setup() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment