🧼
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.
shell
1# install in your project2yarn add -D onepress34# create a markdown file in your docs directory5mkdir docs && cd docs6echo '# Hello OnePress' > README.md78# start writing9yarn onepress dev1011# build to static files12yarn onepress build