question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to combine Classy-UI with AppRun/TypeScript SPA?

See original GitHub issue

I would like to try out the beta-new https://classy-ui.io in a SPA made with AppRun/TypeScript. Classy-UI is a babel-plugin, and some install info can be seen here https://classy-ui.io/install/webpack ; I followed that info, adding the two webpack test rules to the two already in my webpack.config.js. This, however, doesn’t seem to be enough; I get the following when trying access the component where I’m trying to use stuff from "classy-ui":

Error: CLASSY-UI: The plugin is not active. Either you are in a macro environment and you forgot to import from "classy-ui/macro", or the plugin is not added in your babel configuration

I have also been in contact with @christianalfoni, the creator of Classy-UI, about this. I plan to look more into this tomorrow.

An intro video to Classy-UI may be seen here: https://www.youtube.com/watch?v=HG2hR4kP0oM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yysuncommented, Feb 18, 2020

It’s great! I like what you’ve done.

On Tue, Feb 18, 2020 at 10:50 AM Jon Kleiser notifications@github.com wrote:

Now my AppRun/Classy-UI SPA is available at https://github.com/jkleiser/apprun-classyui-spa, and you may try it here: http://apprun-classyui-spa.surge.sh/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yysun/apprun/issues/85?email_source=notifications&email_token=AABJUMZAAXF6E4DCTZQYNHTRDP7T3A5CNFSM4KUVG5HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMCPYMQ#issuecomment-587529266, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJUM3RLKDWCLOMBNRVTILRDP7T3ANCNFSM4KUVG5HA .

0reactions
jkleisercommented, Feb 18, 2020

Thanks! I will give it a try, in a few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found