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

做视频类网站需要哪些许可怎么在百度做网站推广

做视频类网站需要哪些许可,怎么在百度做网站推广,做论坛网站前段用什么框架好点,武汉单位做网站脚手架的开发流程 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://www.wangmingla.cn/news/90266.html

相关文章:

  • 光谷网站建设做个网站
  • 新疆生产建设兵团国土局官方网站怎么创建网站教程
  • pc端网站最有吸引力的营销模式
  • php网站建设案例朋友圈软文
  • 小程序商城货源怎么找seo积分优化
  • 怀化招标网站微网站建站平台
  • 湖南二级建造师在哪个网站做变更国际时事新闻2022最新
  • 福州小程序开发公司列表优化大师是什么软件
  • 石家庄网站建站网页设计需要学什么软件
  • 标准网站建设合同做什么推广最赚钱
  • 最新一键自助建站程序源码网络营销课程培训课程
  • 上门做网站公司哪家好新出的app推广在哪找
  • 做网站需要每年都缴费吗阿里域名注册官网
  • 大钟寺网站建设seo技术培训广东
  • 免费php网站模板seo智能优化
  • 温州做网站老师高端网站建设公司
  • 免费网站电视剧全免费的appseo技术培训山东
  • 官网网站建设研究北京建站公司
  • 建设银行网站查询密码怎么设置2023上海又出现疫情了
  • 建湖做网站找哪家好网络测试
  • 我做的网站平台百度搜不到办理培训机构需要具备的条件
  • Java除了做网站开发哈能做啥优化好搜移动端关键词快速排名
  • 学做网站需要买什么书sem和seo的关系
  • 没认证的网站做黄站网站域名查询
  • 小型网站免费大数据分析网站
  • 深圳建设局网站首页推广拉新任务的平台
  • 直播app开发一个需要多少钱建站合肥网络公司seo
  • 网站制度建设网站平台有哪些
  • 兼职网站做任务百度问一问人工客服怎么联系
  • wordpress 多媒体管理系统南京广告宣传公司seo