const cac = require ( 'cac' ); const cli = cac . cac ( 'lininn-theme' ); cli.command('', '生成样式文件') .option('-p, --platform <platform>', '配置平台') .option(...
Step 1️:创建一个 Store Model // ./src/stores/todo.ts import { action, observable, computed } from 'mobx'; export interface ITodo { id: number; name: string;...
settings.json: "eslint.options": { "overrideConfig": { "env": { "browser": true, "es6": true }, "parserOptions": { "ecmaVersion": 2020, "sourceType": "m...
原本打包过后是css-in-js,配置完MiniCssExtractPlugin后,可以将css单独打包出来 配置 1,安装npm install --save-dev mini-css-extract-plugin 2,将style-loader替换成MiniCssExtractPlugin.load...
Hi you are using Webpack 4 and Terser ^5.0.0 . This version of Terser is for Webpack 5, you need to set version "terser-webpack-plugin": "^4.2.3", in pa...
1. el-table 增加99.9%的宽度 2. .el-table__header,.el-table__body,.el-table__footer{ border-collapse: collapse!important; } 3. 将表格外层元素的width宽度减去滚动条的宽度就解决了 类似这...