A graceful isomorphic framework build top of Next.js and Egg.js
扫码加钉钉群。
A very comfortable framework for writing isomorphic applications
Home Page: https://avetjs.github.io/avet/docs/spec/introduce-cn
License: MIT License
TypeError: this.waitUntilReloaded is not a function
at Object.<anonymous> (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/lib/on-demand-entry-handler.js:228:16)
at Generator.next (<anonymous>)
at onFulfilled (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:65:19)
at /Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:54:5
at new Promise (<anonymous>)
at co (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:50:10)
at toPromise (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:118:63)
at next (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:99:29)
at onFulfilled (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:69:7)
at /Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:54:5
at new Promise (<anonymous>)
at co (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/node_modules/co/index.js:50:10)
at Promise (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/lib/hot-reloader.js:41:9)
at new Promise (<anonymous>)
at HotReloader.run (/Users/okoala/projj/github.com/avetjs/avet/packages/avet-server/lib/hot-reloader.js:40:13)
at <anonymous>
Record it, wait to fix
使用服务端渲染时。按照之前其他的react项目经验,我们会选用adaptive.js和postcss-px2rem去做高清适配,以直接按照设计稿的px值在css中还原。
由于服务端无法直接获取window(即设备的width,dpr,of course),服务端渲染出来的html与客户端渲染出来的样式,root font-size将有很大出入,导致界面跳动剧烈。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.