Add Documentation for Header and Navigation components

This commit is contained in:
Damillora 2020-01-06 02:58:23 +07:00
parent 6cd878e3af
commit 6a943e8274
3 changed files with 21 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { Header, HeaderLeft, HeaderMiddle, HeaderRight } from '../../src/components';
import { Header, HeaderLeft, HeaderMiddle, HeaderRight, NavigationBar, NavigationItem } from '../../src/components';
import '../../src/assets/css/tailwind.css';
export default ({
@ -11,5 +11,7 @@ export default ({
Vue.component('HeaderLeft', HeaderLeft);
Vue.component('HeaderMiddle', HeaderMiddle);
Vue.component('HeaderRight', HeaderRight);
Vue.component('NavigationBar', NavigationBar);
Vue.component('NavigationItem', NavigationItem);
}

View File

@ -0,0 +1,15 @@
# Navigation
<Header>
<HeaderLeft>
</HeaderLeft>
<HeaderMiddle>
<p>Yuika Mitsumine</p>
</HeaderMiddle>
<HeaderRight>
<NavigationBar>
<NavigationItem>
<a href="/">Home</a>
</NavigationItem>
</NavigationBar>
</HeaderRight>
</Header>

View File

@ -1 +1,4 @@
# Components
* [Header](header)
* [Navigation](navigation)