Code Monkey home page Code Monkey logo

vue-cli-vue2-demo's Introduction

vue-cli-vue2-demo

Project setup

npm install 安装依赖

Compiles and hot-reloads for development

npm run serve 启动项目

Compiles and minifies for production

npm run build 发布项目

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

使用vue-cli创建vue2项目步骤

  1. 全局安装vue-cli npm install -g @vue/cli
  2. 验证vue-cli版本 vue -V
  3. 创建vue2项目 vue create my-project

安装element-ui

npm i element-ui -S

已存在的git仓库推送到github(初始操作)

git remote add origin REMOTE-URL 本地和远程github仓库进行关联
git branch -M main
git push -u origin main 将本地代码推送到远程main分支中

更新操作

git add .
git commit -m "提交信息"
git push origin 你的分支 或
git push

vue-cli-vue2-demo's People

Contributors

yahcok avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.