-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use this? #11
Comments
Hello, thanks for giving this a go. Give me couple days I’m working on a brand new version with new docs. It’s going to be spectacular;) a bit of patience and you won’t regret |
Hi, I prepared a starter project with instructions for using a simple catalogue: https://github.com/tomitrescak/luis/tree/master/src/examples/catalogue Please wait couple more days for more instructions on how to connect this to Jest tests and how to incorporate Luis under a custom route. |
I tried copying that example including using the RC version of Luis and still get a blank page:
I can't open source what I'm working on, but all I'm looking to do is replace Storybook with Luis to have the component catalogue. I put my stories alongside my components, so in each component folder it looks like this for example:
I suspect the structure you require about needing stories in certain folders is what's causing the issue...? Hard to say without a more concrete error message what's going on from here. |
Kevin, this looks like a fusebox error, not LUIS. Blast the .fusebox folder and run again. I just double checked and following led to successfull view of the luis catalogue:
Please not that the top menu vis coming next week with options for full screen and mobile resolutions and scaling. |
I've tried blowing away the
But I have |
@thekevinbrown if you do the exact steps then me ... still happening? What fusebox is not great in is the nested node-modules folder. Make sure you did not install modules in the main directory, just the child directory. I will soon post tutorials on how to include this in your app. |
If I run it on your project it works, if I run it on mine I get that error. I'll try to create a reproduction case so you can have something more concrete to go off of. |
Here you go: https://github.com/thekevinbrown/luis-reproduction This is simplified from the Fusebox Electron Seed repo, which I added Luis to (I think correctly, but please let me know if not!). When you run:
You should see "I work!" in the electron window, which means the main process is working, generating a window, and the "Spinner" component is correctly rendering. This is the component I'm trying to get to show up in the Luis interface. Kill the process with Ctrl-C, then: Expected Actual
Accessing the interface on localhost:9001 in Chrome results in:
If I then do
|
Hi, there were several things.
See my result: |
Long story short. Remove I will let you know soon about my investigation of why custom files and baseUrl do not work. |
Hi, so I made a little tweak to config to make sure
Check out my fork at https://github.com/tomitrescak/luis-reproduction to see the changes I made in the last commit to make it work. |
I noted that |
Hi there,
When I follow the steps in the readme, I get:
Then when I look at that URL I get a blank page with this in the console:
How can I debug this to get Luis running?
Alternatively I've tried to get it working with a standalone react component, but get Typescript errors around
setupTestBridge
, and that also fails at runtime:How can I get one of these approaches working?
The text was updated successfully, but these errors were encountered: