r10
r10 copied to clipboard
Invalid Element.WithContext imports
Thank you very much for R10, it looks very nice. I'm trying to use the simpleView example for the new version 4 but there are compilation errors. Here is the full bug report ->
CONTEXT:
R10 version: 4.1.1 (and since version 4.0.0) elm version: 0.19.1
DESCRIPTION:
When trying to use the examples the Element.WithContext import is missing.
REPRODUCTION STEPS:
git clone [email protected]:rakutentech/r10.git
cd r10/examples/simpleView
elm make src/Main.elm
CURRENT BEHAVIOR:
The compiler reports several errors like this:
-- MODULE NOT FOUND - ../r10/src/R10/Transition.elm
You are trying to import a `Element.WithContext` module:
6| import Element.WithContext exposing (..)
^^^^^^^^^^^^^^^^^^^
I checked the "dependencies" and "source-directories" listed in your elm.json,
but I cannot find it! Maybe it is a typo for one of these names?
Element.WithContext.Font
Element.WithContext.Input
Element.WithContext.Border
Element.Font
Hint: If it is not a typo, check the "dependencies" and "source-directories" of
your elm.json to make sure all the packages you need are listed there!
DESIRED BEHAVIOR:
Compile the examples without errors.
I realize the whole simpleView code just require an update to the new version with Elm UI with context ... here the pull request fixing that -> https://github.com/rakutentech/r10/pull/12
Once again, thank you for r10, it's very useful and nice !!