import npminstall from 'npminstall' ; npminstall({ root: this.targetPath, storeDir: this.storePath, registry: getNpmRegistry(), pkgs: [ { name: this.pac...
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...