问题描述
我是 Storybook 的新手。 今天的演示运行良好。
当我尝试添加我们自己在 gatsby 项目中使用的样式组件时 - 我在 sb run 中遇到错误。 我显然很怀念 styled 或 sass 加载器。
你能告诉我我想念什么吗?
main.js
module.exports = {
"stories": [
"../src/**/*.stories.mdx","../src/**/*.stories.@(js|jsx|ts|tsx)"
],"addons": [
"@storybook/addon-links","@storybook/addon-essentials","storybook-addon-styled-component-theme/dist/register"
]
}
package.json https://pastebin.com/PiMV6cgt
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)