-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Adding addons.js and webpack.config.js removes action logger #628
Comments
Actually, you only need to put this line only: import '@kadira/storybook/addons' And you need to reload the browser window to see those changes. |
Sorry, this still isn't working for me (testing on Windows), steps to reproduce:
const path = require('path');
module.exports = {
module: {
loaders: [
{
test: /.scss$/,
loaders: ["style", "css", "sass"],
include: path.resolve(__dirname, '../')
}
]
}
}
Expected: Action logger is displayed Remove |
Let me try this exact steps to reproduce it. |
@devdigital I checked again. It's working pretty fine with the steps you mentioned. Unfortunately, I don't have a windows box to test this right now. |
as I remember, getStorybook works not properly on Windows |
I think the issue is unrelated to |
Ok, just tried |
@usulpro could you send me the npm debug log where installing deps gets failed. |
Here is a repo after |
@arunoda maybe this could help?
Here is a log with error I got: |
Yes I ran npm install after, so it looks like this is 2 issues |
I think has been resolved / answered ? |
Just in case it helps. I had this issue, I had had an old version of storybook alongside a new version of the plugins, reinstalling solved the issue :) |
Starting with a clean install, if you add an
addons.js
file and awebpack.config.js
file in the.storybook
folder, then the actions logger is removed and 'No Panels Available' is displayed instead.The contents of the
addons.js
file is empty. The contents of thewebpack.config.js
file is from the documentation:It seems you can have an
addons.js
file OR awebpack.config.js
file but not both.This might be intended behaviour, but how do you get the actions logger back?
I've tried installing the 'Actions' addon, and adding the following to
addons.js
, but the action logger is still not displayed:The text was updated successfully, but these errors were encountered: