Git Product home page Git Product logo

idea's Introduction

Time:

2017年9月23日 星期六

架构

vue vue-router axios webpack less jade

文件结构

-- src 源码主文件夹
---- assets 资源文件(图片,字体)
---- http 请求封装
------ apis.js 接口配置
------ axios.config.js axios基础配置
------ axios.interceptors.js 注入拦截器的axios
------ index.js 封装的axios请求
---- less 单样式文件
------ common.less 公共样式
---- page 页面组件
---- router 路由
------ router.config.js 页面组件路由配置
------ index.js 注入路由拦截器的路由对象
---- ui ui组件(主要是引用element-ui)
------ index.js 引入外部组件 ---- utils 项目工具组件(如弹出框,提示语之类)
---- App.vue 容器组件 ---- main.js 入口文件(组合各个功能到app中)
---- index.html 项目访问文件

idea's People

Contributors

jindwer avatar fanhailiang avatar

Stargazers

 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.