🧼

OnePress

Vite & React powered Static Site Generator

⚡️ Vite-Powered

Vite is a front-end development build tool based on the ES Module and is known for its speed.

📘 MDX

We can write JSX directly in the markdown file, or even import components.

✨ Tailwind CSS

We can tweak the style in the document using the classes provided by Tailwind CSS.

unplugin-icons

It’s very simple to use a huge amount of icons in the document on demand.

Theme

OnePress itself does not render the content and needs to perform the rendering with the help of a theme.

And, uh..

🚧 This is early WIP! The English document is not ready yet.

Like VuePress,easy to use

shell
1# install in your project
2yarn add -D onepress
3
4# create a markdown file in your docs directory
5mkdir docs && cd docs
6echo '# Hello OnePress' > README.md
7
8# start writing
9yarn onepress dev
10
11# build to static files
12yarn onepress build