File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -54,20 +54,20 @@ export default {
5454
5555🔇 It also uses Ant Design's ` <Rate/> ` component so we can display the rating of the listing.
5656
57- Next off we need to add Ant Design because we will use it's tabs component to create the checkout screen .
57+ Next off we need to add Ant Design because we will use it's tabs and rating components .
5858
59- ```
59+ ``` bash
6060$ yarn add ant-design-vue
6161```
6262
6363Then next head over to the ` main.js ` file to register it globally:
6464
65- ```
66- import { Tabs} from "ant-design-vue";
67- import "ant-design-vue/dist/antd.css";
68-
69- Vue.use(Tabs);
65+ ``` javascript
66+ import { Tabs , Rate } from " ant-design-vue"
67+ import " ant-design-vue/dist/antd.css"
7068
69+ Vue .use (Tabs)
70+ Vue .use (Rate)
7171```
7272
7373Once you're done, it will look like this:
You can’t perform that action at this time.
0 commit comments