Comments (9)
你好,有针对vue2.0的组件吗
from blog.
只针对1.x的,2.0我还没在项目中实践过
from blog.
第三种, 假设B和C组件都有ajax请求...
任何不考虑ajax的例子, 都是耍流氓...
from blog.
你好 能根据vue2.0写一个这样的组件吗
from blog.
@breezefeng 2.0不用指令,直接用组件包一层就可以,缺点是会多一层标签
from blog.
good
from blog.
@breezefeng 根据作者的提示,我写了一个vue-lazy-render
from blog.
实际上 迅雷 也搞出了一个 更完整的首屏优化方案
https://github.com/xunleif2e/vue-lazy-component
from blog.
this.list[0].value = 100; 页面会有响应
from blog.
Related Issues (4)
- 使用webpack构建多页面应用 HOT 25
- vue 实践心得和技巧(一) HOT 13
- Node: Puppeteer + 图像识别 实现百度指数爬虫
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog.