Git Product home page Git Product logo

Comments (6)

stephane-segning avatar stephane-segning commented on June 3, 2024 1

Ok, found this. I had a wrong import inside the code. Somewhere was imported keycloakify/src/lib instead of keycloakify/lib and it did all the difference. Now it's working like a charm.
Thank you for support 😉

from keycloakify.

garronej avatar garronej commented on June 3, 2024 1

I am sorry, I should have figured out this myself. Glad you sorted this out!

from keycloakify.

garronej avatar garronej commented on June 3, 2024

Glad you find this library useful,
This should be an easy fix. Type only Imports and Export where introduced later on in TypeScript, at v3.8, released February 20th, 2020.
Update ts-loader in your project and you should be good. 😃

from keycloakify.

stephane-segning avatar stephane-segning commented on June 3, 2024

Hi! Thanks for the prompt response. So I wasn't using ts-loader, so I installed it, and retried, without success. I've tried the version 9 (requesting webpack v5) and 8 (requesting webpack v4, what is used within this plugin)

from keycloakify.

stephane-segning avatar stephane-segning commented on June 3, 2024

Some updates. Following this tutorial, I've come across a way to add ts-loader into the webpack so I've tried. Without success, the same error didn't even changed. So I'm thinking of redoing the whole project using babel and not create-react-app with typescript.

How come I don't get any error when using the default KcApp?

from keycloakify.

garronej avatar garronej commented on June 3, 2024

Sorry I don't have time to investigate, right now but if you link me your repo I can have a look later on.
keycloakify is made for create-react-app if you start fresh it should work.
Did you have a look at this video? note (the project have been renamed form keycloak-react-theming to keycloakify since this video was recorded)

from keycloakify.

Related Issues (20)

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.