Closed quanghoc closed 10 years ago
Does main.js
require in an example.js
?
Yes I kept that file the same and there is a require
in main.js
A black screen indicates the CSS is loading, but nothing else would indicate that there's a wrong path in the main.js
require statement
If you open Dev Tools (F12), are there any JavaScript errors in the console?
On Wed, May 7, 2014 at 2:58 PM, David Valdman notifications@github.comwrote:
A black screen indicates the CSS is loading, but nothing else would indicate that there's a wrong path in the main.js require statement
— Reply to this email directly or view it on GitHubhttps://github.com/Famous/examples/issues/33#issuecomment-42475568 .
Yeah both css and js not loading. All the path in .zip file I downloaded all messed up.
For example, with require('/src/examples/views/Deck/example.js');
, the browser said cannot find this
http://0.0.0.0:10001/src/famous/views/Deck.js
That doesn't make sense at all.
Still debugging
Oh the /src/famous/ folder is empty in the zip I downloaded.
the zip download doesn't support submodules. Please follow the instructions to download in the Readme
I used both middleman app
bundle exec middleman server -p 10001
andjekyll serve --watch
as I always do to run frontend backendless server. All examples came up with black screen and nothing else. I use this in Mac Chrome version. Any idea?