Code Monkey home page Code Monkey logo

avet's Introduction

AVET

NPM version Build Status Build status NPM downloads lerna

A graceful isomorphic framework build top of Next.js and Egg.js


社区

扫码加钉钉群。

avet's People

Contributors

okoala avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

avet's Issues

1.0 计划

  • 图片静态资源处理
  • 完善框架测试用例
  • 默认添加 axios http 请求库
  • 实现基于 egg 的上层框架,avet 和 egg 的插件体系共融
  • 配置读取的优化
  • 自定义的 babel 支持TypeScript

如何使用adaptive.js高清适配方案

使用服务端渲染时。按照之前其他的react项目经验,我们会选用adaptive.js和postcss-px2rem去做高清适配,以直接按照设计稿的px值在css中还原。
由于服务端无法直接获取window(即设备的width,dpr,of course),服务端渲染出来的html与客户端渲染出来的样式,root font-size将有很大出入,导致界面跳动剧烈。

TypeError: this.waitUntilReloaded is not a function

  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

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.