yarn & vue-cli & hui-cli All In One
yarn & vue-cli & hui-cli All In One
https://github.com/xgqfrms/ES6/issues/10
install
https://yarnpkg.com/zh-Hans/docs/cli/add#toc-yarn-add-dev-d
$ yarn add
$ yarn add -D babel-loader
$ yarn add -P babel-loader
$ yarn add -O babel-loader
$ yarn add -E babel-loader
$ yarn add -T babel-loader
yarn global add
# yarn global add
$ yarn global add @angular/cli
vue cli
https://cli.vuejs.org/zh/guide/#cli
https://cli.vuejs.org/dev-guide/ui-api.html#ui-api
hui-cli
https://github.com/xgqfrms/hui-cli
https://www.npmjs.com/package/hui-cli
$ npm i -g hui-cli
# OR
$ yarn global add hui-cli
// libs
const program = require("commander");
const shell = require("shelljs");
// const fs = require("fs");
const chalk = require("chalk");
const colors = require("colors");
const clear = require("clear");
const figlet = require("figlet");
// clear();
console.log(
chalk.yellow(
figlet.textSync("hui-cli",{
horizontalLayout: "full",
}),
)
);
// libs
const program = require("commander");
const shell = require("shelljs");
const chalk = require("chalk");
const colors = require("colors");
const clear = require("clear");
const figlet = require("figlet");
// build-in
// const fs = require("fs");
// json
const jsonObj = require("./package.json");
// process.argv
const args = process.argv.slice(2) || [];
const log = console.log;
// clear();
// console.log(
// colors.green(
// figlet.textSync("hui-cli",{
// horizontalLayout: "full",
// }),
// )
// );
// console.log(
// chalk.yellow(
// figlet.textSync("hui-cli",{
// horizontalLayout: "full",
// }),
// )
// );
console.log(
chalk.rgb(0, 255, 0).bgBlack(
figlet.textSync("xgqfrms",{
horizontalLayout: "full",
}),
)
);
demos
hui-cli
An Vue cli tools for back-end developers quickly generator an h_ui project with zero-config!
https://www.npmjs.com/package/hui-cli
https://github.com/xgqfrms/hui-cli
// cli 自动安装依赖包
shell.exec(`cd hui-app & npm i`);
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/9644004.html
未经授权禁止转载,违者必究!