Skip to content

Commit f5fe9ce

Browse files
committed
added intro here
1 parent 5cefc12 commit f5fe9ce

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/content/create-tour-card.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

6363
Then 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

7373
Once you're done, it will look like this:

0 commit comments

Comments
 (0)