Git Product home page Git Product logo

vue-study's Introduction

vue-cli4 + vue2.6 + vuex + vue-router + axios + element-ui

项目功能说明:

  1. 采用了vue-cli4搭建
  2. 使用了vue-router来实现路由,实现单页面应用
  3. 使用vuex做状态管理工具
  4. axios做请求工具
  5. element-ui做ui框架。
  6. 项目实现了动态路由,跨域配置,请求拦截,路由拦截,状态本地存储等。
  7. 项目加入了px2rem,lib-flexible实现的移动端适配方案
  8. 线上地址访问
 /*当前目录命令行输入下面的命令*/
    npm config set registry https://registry.npm.taobao.org/
    /* -g安装到全局  -s安装到dependencies(需要打包之后还要使用的)节点,-d安装到devDependencies(只需要在开发时用到的)  */
    npm isntall cnpm -g
    /*用cnpm安装依赖*/
    cnpm install
    /* 项目启动 */
    npm run serve
    /* 打包 */
    npm run build

node-sass能容易安装失败,可以参照(这个)[https://segmentfault.com/a/1190000010984731] 来安装。

可以关注我的个人公众号,获取更多学习资料

公众号


注:该项目只用于学习参考,不用于任何商业用途 欢迎提问点赞,本人邮件[email protected],有任何问题可以联系我

vue-study's People

Contributors

jackzhujie avatar dependabot[bot] avatar

Watchers

James Cloos 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.