# ITSM **Repository Path**: cnhd/itsm ## Basic Information - **Project Name**: ITSM - **Description**: ITSM页面改造 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-24 - **Last Updated**: 2026-01-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 新版BPM ### 国家管网 ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). --- ### 模板页面index.html设置 因为 index 文件被用作模板,所以你可以使用 [lodash template](https://lodash.com/docs/4.17.15) 语法插入内容: * <%= VALUE %> 用来做不转义插值; * <%- VALUE %> 用来做 HTML 转义插值; * <% expression %> 用来描述 JavaScript 流程控制。 除了被 html-webpack-plugin 暴露的默认值之外,所有客户端环境变量也可以直接使用。例如,BASE_URL 的用法: ```html ``` ### Vscode Settings * vscode-stylelint A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint. - Installation `Extensions: stylelint` - Optional setup Add the following in your vscode settings: ``` // stylelint "css.validate": false, "scss.validate": false, "less.validate": false, "stylelint.enable": true, "editor.codeActionsOnSave": { // Auto repair is enabled when the file is saved "source.fixAll.stylelint": true }, "editor.formatOnSave": true ``` * eslint + vetur Check the JS and Vue code specifications. - Installation `Extensions: ESLint` `Extensions: Vetur` - Optional setup Add the following in your vscode settings: ``` // eslint & vetur "javascript.validate.enable": false, "eslint.format.enable": true, "eslint.validate": [ "vue", "javascript", "javascriptreact" ], "vetur.validation.template": false, "vetur.ignoreProjectWarning": true, "editor.codeActionsOnSave": { // Auto repair is enabled when the file is saved "source.fixAll.eslint": true }, "editor.formatOnPaste": true, "editor.formatOnType": true, "editor.formatOnSave": true ``` --- Why ESLint does not work? Check whether ESLint is turned on in the VS Code status bar. ### [project manual](docs/index.md)