Skip to content

afeiship/next-weapp-boot

Repository files navigation

next-weapp-boot

Weapp enhanced boot

usage:

todos:

  • todo: add className behavior for nx.Component
  • todo: add lifetimes/methods for nx.App

install:

import 'next-weapp-boot';

// usage:
nx.App(/*Your options*/)
nx.Page(/*Your options*/)
nx.Component(/*Your options*/)
nx.Behavior(/*Your options*/)

// app MEET redux
nx.$app
nx.$memory
nx.$local
nx.$global
nx.$('YOUR_COMPONENT')