### Zent Development Environment Setup Source: https://github.com/youzan/zent/blob/master/site/README.md Instructions to set up and run the Zent development server locally. This involves installing project dependencies and starting the development server, which will be accessible via a web browser at the specified address. ```bash yarn npm run dev ``` -------------------------------- ### Initialize Zent Development Environment Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/CONTRIBUTING_en-US.md Sets up the Zent project by installing dependencies and preparing the development environment. Ensure `coreutils` is installed before running this command. ```bash yarn bootstrap ``` -------------------------------- ### Run Zent Documentation Site Locally Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/CONTRIBUTING_en-US.md Starts a local development server for the Zent documentation website. This command should be executed from within the `site` directory to view documentation changes in real-time. ```bash yarn dev ``` -------------------------------- ### Initialize Zent Project Development Environment Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/CONTRIBUTING_zh-CN.md This command initializes the Zent project, setting up all necessary dependencies and configurations for local development. It is crucial to ensure `coreutils` is installed beforehand, especially on macOS where it can be installed via Homebrew. ```bash # 请确保安装 coreutils,OSX 可以使用 brew 安装 yarn bootstrap ``` -------------------------------- ### Run Local Zent Documentation Website Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/CONTRIBUTING_zh-CN.md This command starts the local development server for the Zent documentation website. It enables developers to preview changes to components and their documentation in real-time, adhering to the principle that 'documentation is code'. ```bash yarn dev ``` -------------------------------- ### Start Development Server for Component Testing Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/CONTRIBUTING_en-US.md Launches the development server, which is useful for manually testing and verifying changes made to components. This command allows developers to observe the impact of their code modifications in a live environment. ```bash yarn dev ``` -------------------------------- ### Generate New Zent Component Boilerplate Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/CONTRIBUTING_zh-CN.md This command automates the initial setup for a new component within the `packages/zent` directory. Running this script creates the necessary folder structure and boilerplate files, streamlining the component creation process. Replace `YOUR-COMPONENT-NAME` with the desired name for your new component. ```bash yarn new-component YOUR-COMPONENT-NAME ``` -------------------------------- ### Example Demo Component Styling with CSS/LESS Source: https://github.com/youzan/zent/blob/master/packages/zent/docs/MARKDOWN_en-US.md Provides an example of embedding styles directly within a demo using a `