feat(new component): Initial typography (#199)
* feat: typography * feat: typography * feat: typography * Update docs/components/heading.md * Update src/components/Typography/A.vue * Update src/components/Typography/Heading.vue * Update src/components/Typography/Img.vue * Update src/components/Typography/P.vue --------- Co-authored-by: Ilya Artamonov <ilya.sosidka@gmail.com>
This commit is contained in:
@@ -18,6 +18,13 @@ function buildSidebar() {
|
||||
collapsible: true,
|
||||
items: [...getFormComponents()],
|
||||
},
|
||||
{
|
||||
text: 'Typography',
|
||||
collapsible: true,
|
||||
items: [
|
||||
...getTypography(),
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Utils',
|
||||
collapsible: true,
|
||||
@@ -75,6 +82,15 @@ function getUtils() {
|
||||
]
|
||||
}
|
||||
|
||||
function getTypography() {
|
||||
return [
|
||||
{ text: 'Heading', link: '/components/heading' },
|
||||
{ text: 'Paragraph', link: '/components/paragraph' },
|
||||
{ text: 'Image', link: '/components/image' },
|
||||
{ text: 'Link', link: '/components/link' }
|
||||
]
|
||||
}
|
||||
|
||||
/**
|
||||
* This can be used as an example
|
||||
* https://github.com/vuejs/vitepress/blob/master/docs/.vitepress/config.js
|
||||
|
||||
Reference in New Issue
Block a user