### TDesign Vue Next Starter Development and Build Commands Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README.md Provides essential commands for managing the TDesign Vue Next Starter project. This includes installing dependencies, starting a local development server, and building the project for production or testing environments. ```bash ## install dependencies npm install ## set up npm run dev ## build npm run build ## build for test npm run build:test ``` -------------------------------- ### Install tdesign-starter-cli Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Installs the tdesign-starter-cli globally to initialize new projects. ```bash npm i tdesign-starter-cli@latest -g ``` -------------------------------- ### Install and Initialize TDesign Vue Next Starter CLI Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README.md Installs the TDesign starter CLI globally using npm and then initializes a new project with the CLI tool. This sets up the basic project structure. ```bash ## install tdesign-starter-cli npm i tdesign-starter-cli@latest -g ## create project td-starter init ``` -------------------------------- ### Start Development Server Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Starts the Vite development server for local development. ```bash npm run dev ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Installs all necessary project dependencies using npm. ```bash npm install ``` -------------------------------- ### Create Project with tdesign-starter-cli Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Initializes a new TDesign Vue Next project using the CLI. ```bash td-starter init ``` -------------------------------- ### Preview Build Artifacts Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Previews the built project artifacts locally. ```bash npm run preview ``` -------------------------------- ### Build for Production Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Builds the project for the production environment. ```bash npm run build ``` -------------------------------- ### Build for Test Environment Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Builds the project for the test environment. ```bash npm run build:test ``` -------------------------------- ### Style Formatting Check and Fix Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Performs style formatting checks and automatically fixes issues using Stylelint. ```bash npm run stylelint:fix ``` -------------------------------- ### TDesign Vue Next Starter Initialization Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/index.html Initializes the Aegis SDK for error reporting and performance monitoring when the host is 'tdesign.tencent.com'. It also sets a global reference to the window object for convenience. ```javascript if (window.location.host === "tdesign.tencent.com") { const aegis = new Aegis({ id: 'rDISNMyXgqWDFPyHMB', // 项目ID,即上报key reportAssetSpeed: true, // 静态资源测速 }); } window.global = window; ``` -------------------------------- ### Style Formatting Check Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Performs style formatting checks using Stylelint. ```bash npm run stylelint ``` -------------------------------- ### Code Formatting Check Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Performs code formatting checks using ESLint. ```bash npm run lint ``` -------------------------------- ### Code Formatting Check and Fix Source: https://github.com/tencent/tdesign-vue-next-starter/blob/develop/README-zh_CN.md Performs code formatting checks and automatically fixes issues using ESLint. ```bash npm run lint:fix ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.