How to combine Classy-UI with AppRun/TypeScript SPA?
See original GitHub issueI 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:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s great! I like what you’ve done.
On Tue, Feb 18, 2020 at 10:50 AM Jon Kleiser notifications@github.com wrote:
Thanks! I will give it a try, in a few days.