kbrsh / moon

🌙 The minimal & fast library for functional user interfaces
https://moonjs.org
MIT License
5.99k stars 200 forks source link

Uncaught TypeError: _moon.default.use is not a function with Moon.use(MoonRouter) #240

Closed kimlombard closed 4 years ago

kimlombard commented 5 years ago

How do I use moon-router and monx? I've installed both via npm and am unable to use them. Does the moon.js v1.0.0-beta.2 source require a use function (it seems it was there in v0.11.0 and had to do with plugins).

The docs for both moon-router and monx mention

Moon.use(MoonRouter); // or Moon.use(Monx);

Is there some other way to use them?

kbrsh commented 5 years ago

Currently, Moon Router and Monx are not supported for use with v0.11.0. I'm still working on an implementation for them, and they should be out once Moon v1 releases.

kimlombard commented 5 years ago

Great to hear and keep up the great work!

kbrsh commented 4 years ago

A router driver is now implemented and tested in the master branch, and it should be coming in the next beta. I'll close this once it releases.

kimlombard commented 4 years ago

Hi Kabir,

Thanks for the update! Here's wishing you a fantastic year ahead and looking forward to your progress.

Kind regards,

Kim

On Thu, Dec 26, 2019 at 5:20 AM Kabir Shah notifications@github.com wrote:

A router driver is now implemented and tested in the master branch, and it should be coming in the next beta. I'll close this once it releases.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kbrsh/moon/issues/240?email_source=notifications&email_token=AAOC6RF6XLXXBNTDWBOE7R3Q2QPIFA5CNFSM4F67PVAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHUZZUI#issuecomment-568958161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOC6RFW2EBAR6BPCYKOB7DQ2QPIFANCNFSM4F67PVAA .

-- Nimble Typing Services Kim Lombard, Samantha Irving Brown

Email: kimleigh.lombard@gmail.com Landline: +27 41 466 0223 Mobile: +27 60 337 0879 Skype: kimleigh.lombard

Email: samantha.irvingbrown@gmail.com Landline: +27 41 466 0223 Mobile: +27 84 812 3781 Skype: sphynxylynxy

kbrsh commented 4 years ago

Thank you, happy new year! I think I'll be finally releasing v1 this year :)

kbrsh commented 4 years ago

Moon v1 beta 5 now has a route driver.