2 |
3 | This is slot content 1.
4 |
5 | This is slot content 2.
6 |
7 |
--------------------------------------------------------------------------------
/docs/.vuepress/config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | locales: {
3 | '/': {
4 | lang: 'en-US',
5 | title: 'Component Library 🥂',
6 | description: 'Documentation site for the Vue component library plugin'
7 | }
8 | },
9 | themeConfig: {
10 | repoLabel: 'Contribute!',
11 | // git repo here... gitlab, github
12 | repo: 'https://github.com/siegerts/vue-component-library-template',
13 | docsDir: 'docs',
14 | editLinks: true,
15 | docsBranch: 'master',
16 | editLinkText: 'Help us improve this page!',
17 | search: false,
18 | locales: {
19 | '/': {
20 | label: 'English',
21 | selectText: 'Languages',
22 | lastUpdated: 'Last Updated',
23 | // service worker is configured but will only register in production
24 | serviceWorker: {
25 | updatePopup: {
26 | message: 'New content is available.',
27 | buttonText: 'Refresh'
28 | }
29 | },
30 | nav: [
31 | { text: 'Getting Started', link: '/guide' },
32 | { text: 'Components', link: '/components/' },
33 | // external link to git repo...again
34 | {
35 | text: 'GitHub',
36 | link: 'https://github.com/siegerts/vue-component-library-template'
37 | }
38 | ],
39 | sidebar: {
40 | '/components/': [
41 | {
42 | title: 'Components',
43 | collapsable: false,
44 | children: ['standard-component']
45 | }
46 | ]
47 | }
48 | }
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/docs/.vuepress/enhanceApp.js:
--------------------------------------------------------------------------------
1 | // enhanceApp.js
2 | import ComponentLibrary from './../../src/main.js'
3 |
4 | export default ({ Vue, options, router, siteData }) => {
5 | Vue.use(ComponentLibrary)
6 | }
7 |
--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | home: true
3 | heroImage:
4 | actionText: Get Started →
5 | actionLink: /guide
6 | features:
7 | - title: Feature 1
8 | details: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
9 | - title: Feature 2
10 | details: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
11 | - title: Feature 3
12 | details: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
13 | footer: Example Vue Component Library 2019
14 | ---
15 |
--------------------------------------------------------------------------------
/docs/components/README.md:
--------------------------------------------------------------------------------
1 | # Components
2 |
3 | This is the index page for all of the documented components.
4 |
--------------------------------------------------------------------------------
/docs/components/standard-component.md:
--------------------------------------------------------------------------------
1 | # standard-component
2 |
3 | Wow! This component is awesome.
4 |
5 | ## Example
6 |
7 |