码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • 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    推送到远程库

  • 相关阅读:
    Springboot晋韵戏剧点播网站毕业设计源码112304
    【iOS】—— GET和POST以及AFNetworking框架
    你不可不知的八大全新顶级开源项目
    SOFA Weekly|Go 代码城市、本周 Contributor & QA
    C# 通过Dynamic访问System.Text.Json对象
    ES的索引概念
    三个案例带你入门Thymeleaf。模板引擎,终于不用在后端拼接前端代码了。
    Go语言实现原理——锁实现原理
    R3live&Fastlio2
    centos7添加/dev/sdb
  • 原文地址:https://blog.csdn.net/davice_li/article/details/127554635
  • 最新文章
  • 沪漂五周年了:我越来越迷茫了
    Agentic Skill Routing 实战:别再把所有 Skill 塞进 AI Agent 上下文
    MySQL-Seconds_behind_master的精度误差
    [MAF预定义ChatClient中间件-03]CachingChatClient——利用缓存省钱省时间
    AI的至暗历史:从万众期待到被政府撤资,AI的两次死亡徘徊
    Agent OS :五种驯服不确定性的范式
    PortSwigger SQL注入LAB11
    数据库即时编译JIT
    [Begin]AI Learn Data Day 0
    深度学习进阶(二十七)现代 LLM 的核心架构设计其二:SwiGLU
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号