Add Documentation for Header and Navigation components
This commit is contained in:
parent
6cd878e3af
commit
6a943e8274
@ -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);
|
||||
}
|
||||
|
||||
|
15
docs/components/Navigation/README.md
Normal file
15
docs/components/Navigation/README.md
Normal 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>
|
@ -1 +1,4 @@
|
||||
# Components
|
||||
|
||||
* [Header](header)
|
||||
* [Navigation](navigation)
|
||||
|
Loading…
Reference in New Issue
Block a user