Git Product home page Git Product logo

vue-learn's Introduction

Vue 源码分析

目录结构(vue2.3)

├── compiler //模板解析的相关文件
│   ├── codegen //根据ast生成render函数
│   ├── directives //通用生成render函数之前需要处理的指令
│   └── parser //模板解析
|
├── core //核心代码
│   ├── components //全局组件
│   ├── global-api //全局方法,也就是添加在Vue对象上的方法,比如Vue.use,Vue.extend,,Vue.mixin等
│   ├── instance // Vue实例相关内容,包括实例方法,生命周期,事件等
│   ├── observer //双向数据绑定
│   ├── util //工具方法
│   └── vdom //虚拟dom相关,如diff算法
|
├── platforms //平台相关的内容
│   ├── web //web端独有文件
│   │   ├── compiler //编译阶段需要处理的指令和模块
│   │   ├── runtime //运行阶段需要处理的组件、指令和模块
│   │   ├── server //服务端渲染相关
│   │   └── util //工具库
│   └── weex //weex端独有文件
│       ├── compiler
│       ├── runtime
│       └── util
├── server //服务端渲染相关
│   ├── bundle-renderer
│   ├── template-renderer
│   └── webpack-plugin
├── sfc
└── shared //公共的工具方法

vue-learn's People

Contributors

huangzhuangjia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.