Giter Site home page Giter Site logo

vuemall's Introduction

1.连接远端仓库

  • 使用GitHub 创建一个仓库

  • 使用git clone GitHub远端仓库URL 克隆下来的项目已经和远端仓库关联

  • 将vue 项目的 主要文件 复制到 克隆下来的文件目录中

  • 使用git 命令 推送到远端

    • git add . git commit -m 连接远端仓库 git push

    • 也可以使用别名的方式自己配置git 连接远端仓库

    • git remote add origin https://github.com/coderwhy/testmall.git git push -u origin master

2.初始化vue项目

  • 使用Vue Cli3 创建项目 vue create projectName

  • 划分目录结构

  • 使用vue.config.js配置别名

    • module.exports = {
        configureWebpack: {
          resolve: {
            alias: {
              'assets': '@/assets',
              'components': '@/components',
              'views': '@/views',
              'common': '@/common',
              'network': '@/network',
            }
          }
        }
      }
  • 添加.editorconfig文件 规定代码风格

vuemall's People

Contributors

zum-gluck 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.