Install
How to install and setup publish.dev
CLI
The CLI helps you setup your site and configuration, runs a development server, and validates builds.
Initialization
Run the init script to setup your repo.
npx @publish.os/cli@latest initYou can choose to start from scratch or a template.
Once scaffolded, you can run the development server and start building:
npx @publish.os/cli@latest devFilesystem
Getting started with publish.dev is as simple as putting a folder in your repo.
app/ # your repo
├── dashboard/ # any app that might be related to your content
└── ...
│
publish.os/
├── publish.os.config.json
└── docs/
└── content/
└── install.mdxWhen you want more control or customization, simply author your own layouts, pages, or components.
publish.os/
├── publish.os.config.json
├── theme.css
└── components/ui/
└── button.tsx
└── docs/
└── page.tsx
└── content/
└── install.mdx
