vuepress-theme-x

1.3.1 • Public • Published

vuepress-theme-x

VuePress theme.

npm package

Installing

npm install vuepress-theme-x

Usage

// config.js
module.exports = {
  theme: 'x'
}

Examples

.
└── docs
    ├── .vuepress
    |   └── config.js
    ├── Tag 1
    |   └── Document 1
    |       └── README.md
    ├── Tag 2
    |   └── Document 2
    |       └── README.md
    ├── Tag 3
    |   └── Document 3
    |       └── README.md
    └── README.md
// config.js
module.exports = {
  title: 'x',
  theme: 'x',
  themeConfig: {
    editLinkText: 'Edit',
    editLinks: true,
    repo: 'username/repo',
    search: true,
    searchMaxSuggestions: -1,
    nav: [
      {
        text: 'github',
        link: 'https://github.com',
      },
    ],
    sidebar: {
      '/': [
        {
          title: 'Tag 1',
          children: [
            '/Tag 1/Document 1/',
          ],
        },
        {
          title: 'Tag 2',
          children: [
            '/Tag 2/Document 2/',
          ],
        },
        {
          title: 'Tag 3',
          children: [
            '/Tag 3/Document 3/',
          ],
        },
      ],
    },
  },
}

Package Sidebar

Install

npm i vuepress-theme-x

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

33.1 kB

Total Files

19

Last publish

Collaborators

  • adamearth