• 23 Vue 项目初始化和gitee项目同步


    全局安装  vue-cli

    npm install --global  vue-cli

    #创建一个基于 webpack 模板的新项目

    vue init  webpack  my-project

    1. E:\vuework\travel>cd travel
    2. E:\vuework\travel\travel>npm install --global vue-cli
    3. npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    4. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
    5. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    6. npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
    7. npm WARN deprecated vue-cli@2.9.6: This package has been deprecated in favour of @vue/cli
    8. added 230 packages in 32s
    9. npm notice
    10. npm notice New minor version of npm available! 8.15.0 -> 8.19.2
    11. npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2
    12. npm notice Run npm install -g npm@8.19.2 to update!
    13. npm notice
    14. E:\vuework\travel\travel>cd ..
    15. E:\vuework\travel>vue init webpack travel
    16. ? Target directory exists. Continue? Yes
    17. ? Project name travel
    18. ? Project description travel
    19. ? Author davicelee
    20. ? Vue build standalone
    21. ? Install vue-router? Yes
    22. ? Use ESLint to lint your code? Yes
    23. ? Pick an ESLint preset Standard
    24. ? Set up unit tests No
    25. ? Setup e2e tests with Nightwatch? No
    26. ? Should we run `npm install` for you after the project has been created? (recommended) npm
    27. vue-cli · Generated "travel".
    28. # Installing project dependencies ...
    29. # ========================

    #安装依赖,走你

    cd  my-project

    npm install 

    npm run dev

    二、git 项目同步 在git 上建立项目

    Gitee - 基于 Git 的代码托管和研发协作平台

    在平台创建代码库。复制代码

    在电脑上安装 git  程序

    同步代码 

    git  add .    

    git  commit  -m "vue init"

    git push    推送到远程库

  • 相关阅读:
    virsh 基本命令与创建存储池\存储卷
    面试面到了一个腾讯30k出来的,有见识到何为精通MySQL调优
    算法通关村|黄金挑战|K个一组进行反转
    通过UDP实现参数配置
    排序进阶----快速排序
    远程连接Ubuntu中的Mysql
    maven工程打包引入本地jar包
    非局部均值滤波(NON-LOCAL-mean)/注意力机制
    行为设计模式之职责链模式
    Running job: job_1709516801756_0003
  • 原文地址:https://blog.csdn.net/davice_li/article/details/127554635