Skip to main content

You're viewing the documentation for an older version of 文档中心. Consider upgrading your project to version 4.x

  • Introduction
  • Development

Development

By default, we use a simple Vite configuration that comes with every new Statamic site so you should feel right at home.

npm run dev - Watches your content, rebuilds, and refreshes your browser so you can instantly see the changes.
npm run build - Build for production