Skip to content

haoranpb/vitepress-tailwind-documentation

Repository files navigation

Simplified Tailwindcss documentation site clone

Build with VitePress and Tailwind CSS

Why?

I love building elegant websites, especially when both design and css are taken care of 😜. Inspired by vuejs/blog.

What's missing?

As you can see on the website, many functionalities and styles are not implemented for simplicity.

Development

Add a new document

Put your document inside docs folder. Note: nested directories are not supported.

And then edit .vitepress/config.js

module.exports = {
  ...
  themeConfig: {
    ...
    collections: {
      'New category': [
        'your document',
      ],
      ...
    },
  },
}

Configuration

Take a look at VitePress's documentation might help you further understand the structure.

License

MIT