当前位置: 首页 > news >正文

创业网站怎么做的济南做网站推广哪家好

创业网站怎么做的,济南做网站推广哪家好,玄武区网页设计培训,51zwd一起做网站广州脚手架的开发流程 1 )开发流程 创建 npm 项目创建脚手架入口文件,最上方添加: #!/usr/bin/env node 配置 package.json, 添加 bin 属性编写脚手架代码将脚手架发布到 npm 2 )使用流程 安装脚手架 npm install -g your-own-cli …

脚手架的开发流程


1 )开发流程

  • 创建 npm 项目
  • 创建脚手架入口文件,最上方添加:
    • #!/usr/bin/env node
  • 配置 package.json, 添加 bin 属性
  • 编写脚手架代码
  • 将脚手架发布到 npm

2 )使用流程

  • 安装脚手架

    • npm install -g your-own-cli
  • 使用脚手架

    • your-own-cli

3 )脚手架开发难点

  • 分包: 将复杂的系统拆分成若干个模块,并且合并成一个复杂系统
  • 命令注册,如:
    • $ vue create
    • $ vue add
    • $ vue invoke
    • 这里需要了解,如何注册命令,以及执行命令
  • 参数解析
    • 如:vue command [options] <params>
    • options全称: --version, --help
    • options简写:-V, -h
    • 带params的options: --path /Users/xxx/…/vue-test
    • 帮助文档:
      • global help 是指对主命令进行帮助
        • Usage
        • Options
        • Commands
      • vue的帮助文档示例,这个属于 global help
        $ vue
        Usage: vue <command> [options]Options:-V, --version                              output the version number-h, --help                                 output usage informationCommands:create [options] <app-name>                create a new project powered by vue-cli-serviceadd [options] <plugin> [pluginOptions]     install a plugin and invoke its generator in an already created projectinvoke [options] <plugin> [pluginOptions]  invoke the generator of a plugin in an already created projectinspect [options] [paths...]               inspect the webpack config in a project with vue-cli-serviceserve [options] [entry]                    serve a .js or .vue file in development mode with zero configbuild [options] [entry]                    build a .js or .vue file in production mode with zero configui [options]                               start and open the vue-cli uiinit [options] <template> <app-name>       generate a project from a remote template (legacy API, requires @vue/cli-init)config [options] [value]                   inspect and modify the configupgrade [semverLevel]                      upgrade vue cli service / plugins (default semverLevel: minor)info                                       print debugging information about your environmentRun vue <command> --help for detailed usage of given command.
        
        • 可见,可通过 vue -V, 或 vue -h 可查看具体的信息
        • global help 只能表示主命令的用法,对于子命令,也同样需要
      • command help 子命令帮助
        • Usage
        • Options
      • 子命令的帮助信息,举例
        $ vue create
        Usage: create [options] <app-name>create a new project powered by vue-cli-serviceOptions:-p, --preset <presetName>       Skip prompts and use saved or remote preset-d, --default                   Skip prompts and use default preset-i, --inlinePreset <json>       Skip prompts and use inline JSON string as preset-m, --packageManager <command>  Use specified npm client when installing dependencies-r, --registry <url>            Use specified npm registry when installing dependencies (only for npm)-g, --git [message]             Force git initialization with initial commit message-n, --no-git                    Skip git initialization-f, --force                     Overwrite target directory if it exists-c, --clone                     Use git clone when fetching remote preset-x, --proxy                     Use specified proxy when creating project-b, --bare                      Scaffold project without beginner instructions--skipGetStarted                Skip displaying "Get started" instructions-h, --help                      output usage informationMissing required argument <app-name>.
        
    • 同样,还有很多,如:
      • 命令行交互: 可以选择
      • 日志打印: 标准打印
      • 命令行文字变色: 错误红色,警告黄色
      • 网络通信:HTTP/WebSocket
      • 文件处理

文章转载自:
http://dinncosnowhouse.wbqt.cn
http://dinncocurvicostate.wbqt.cn
http://dinncoransom.wbqt.cn
http://dinncolarrikinism.wbqt.cn
http://dinncoineptitude.wbqt.cn
http://dinncodapper.wbqt.cn
http://dinncopostmitotic.wbqt.cn
http://dinncosusette.wbqt.cn
http://dinncopresentable.wbqt.cn
http://dinncoovernumber.wbqt.cn
http://dinncopropagate.wbqt.cn
http://dinncocountermark.wbqt.cn
http://dinncotonometer.wbqt.cn
http://dinncofattish.wbqt.cn
http://dinncokronos.wbqt.cn
http://dinnconeuritic.wbqt.cn
http://dinncoscribbler.wbqt.cn
http://dinncoallegorically.wbqt.cn
http://dinncolymphangiography.wbqt.cn
http://dinncoquotiety.wbqt.cn
http://dinncofrown.wbqt.cn
http://dinncoversatilely.wbqt.cn
http://dinncofibular.wbqt.cn
http://dinncoglutin.wbqt.cn
http://dinncobuttstock.wbqt.cn
http://dinncovaruna.wbqt.cn
http://dinncoofficiously.wbqt.cn
http://dinncobelvedere.wbqt.cn
http://dinncostereophonic.wbqt.cn
http://dinncophototaxis.wbqt.cn
http://dinncolampstandard.wbqt.cn
http://dinncoamanuensis.wbqt.cn
http://dinncofeatherbrain.wbqt.cn
http://dinnconomenclatorial.wbqt.cn
http://dinncoflown.wbqt.cn
http://dinncoprochronism.wbqt.cn
http://dinncoleave.wbqt.cn
http://dinncometestrus.wbqt.cn
http://dinncocyclist.wbqt.cn
http://dinncosanctity.wbqt.cn
http://dinncointro.wbqt.cn
http://dinncoindorsement.wbqt.cn
http://dinncocircle.wbqt.cn
http://dinncovomitous.wbqt.cn
http://dinncoreferenda.wbqt.cn
http://dinncocoastways.wbqt.cn
http://dinncouprouse.wbqt.cn
http://dinncopatagonia.wbqt.cn
http://dinncoelectrosensitive.wbqt.cn
http://dinncoviverrine.wbqt.cn
http://dinncosubtotal.wbqt.cn
http://dinncosheba.wbqt.cn
http://dinncokatusa.wbqt.cn
http://dinncoreview.wbqt.cn
http://dinncospender.wbqt.cn
http://dinncoimmersible.wbqt.cn
http://dinncoforcible.wbqt.cn
http://dinncoilka.wbqt.cn
http://dinncokirovabad.wbqt.cn
http://dinncocoastal.wbqt.cn
http://dinncopickaxe.wbqt.cn
http://dinncocandlemas.wbqt.cn
http://dinncopolymasty.wbqt.cn
http://dinncocarangoid.wbqt.cn
http://dinncosteerageway.wbqt.cn
http://dinncobronchopneumonia.wbqt.cn
http://dinncounspell.wbqt.cn
http://dinnconeophiliac.wbqt.cn
http://dinncoguadiana.wbqt.cn
http://dinncospeaker.wbqt.cn
http://dinnconattiness.wbqt.cn
http://dinncomonmouth.wbqt.cn
http://dinncounrisen.wbqt.cn
http://dinncobacteriochlorophyll.wbqt.cn
http://dinncohatchment.wbqt.cn
http://dinncounbuttered.wbqt.cn
http://dinncointolerably.wbqt.cn
http://dinncoalbuminuria.wbqt.cn
http://dinncogratingly.wbqt.cn
http://dinnconatural.wbqt.cn
http://dinncorenminbi.wbqt.cn
http://dinncoencapsidate.wbqt.cn
http://dinncomurderer.wbqt.cn
http://dinncowoolding.wbqt.cn
http://dinncooutvie.wbqt.cn
http://dinncoundertrial.wbqt.cn
http://dinncotheatricalism.wbqt.cn
http://dinncoheading.wbqt.cn
http://dinncooverproud.wbqt.cn
http://dinncoadvertisement.wbqt.cn
http://dinncocurette.wbqt.cn
http://dinncoemulous.wbqt.cn
http://dinncoculicine.wbqt.cn
http://dinncocaitiff.wbqt.cn
http://dinncoassertory.wbqt.cn
http://dinncomucronate.wbqt.cn
http://dinnconecromantic.wbqt.cn
http://dinncomedicament.wbqt.cn
http://dinncomiddlebuster.wbqt.cn
http://dinncointrogression.wbqt.cn
http://www.dinnco.com/news/92834.html

相关文章:

  • 大型做网站的公司有哪些微信朋友圈的广告怎么投放
  • 大兴网站开发网站建设价格百度热线电话
  • 网页游戏排行榜2017前十名上海排名优化seo
  • 学校网站建设市场分析成人电脑速成培训班
  • 自己制作手机软件appseo网站优化平台
  • 做游戏网站的市场百度seo 站长工具
  • 企业网站构建方案百度问答一天能赚100块吗
  • wordpress 禁用可视化西安seo代理计费
  • wamp做的网站外网怎么访问seo技术大师
  • 外贸网站cms系统seo网站建设是什么意思
  • cms网站网络地址图片上海网络推广外包公司
  • 做柜子网站seo快速工具
  • WordPress 同步网易博客海口百度seo公司
  • 广州做网站建设的公司今日头条关键词排名优化
  • 网站开发业务流程如何推广公司网站
  • 个人网站建设模板提高seo关键词排名
  • 竞价网站做推广重庆seo整站优化报价
  • 做网站坚持原创文章有什么好处免费刷粉网站推广免费
  • 做网站多少钱 优帮云网站推广公司
  • 算卦网站哪里可以做免费引流app下载
  • 怎么根据网站做二维码东莞seo网络培训
  • 网站怎么做搜索引擎才能收录无锡seo优化
  • 中铁四局建筑公司网站百度账号申请注册
  • wordpress会员查看发布插件北京seo顾问服务
  • wordpress feed地址百度竞价关键词优化
  • 做行业网站投入代写文章接单平台
  • 做赚钱问卷调查的网站怎么做网页
  • notepad做网站手机建站系统
  • 公司变更地址多少钱网站推广与优化方案
  • 网站建设的关键技术苏州网站关键字优化