没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
灰烬故事书 :ledger: 灰烬故事书适配器 兼容性 Ember.js v3.16或更高版本 Ember CLI v2.13或更高版本 Node.js v10或更高版本 安装 ember install @storybook/ember-cli-storybook 用法 运行ember build时,这将作为post build操作自动触发 package.json选项(默认) " storybook " : { " ignoreTestFiles " : true } 故障排除 需要路由查询参数的组件 Ember的Storybook集成可在无路由器的环境中将中。 这适用于许多情况,但是当您遇到需要查询参数的案例(例如,将排序或分页信息持久保存到URL的组件)时,这是不够的。 ,还没有正式的方法可以实现此目的,但是您可以通过动态添加路由,使用访问它并注入一个伪控制器(例如此实用程序函数)来解决此问题: function injectRoutedController ( controllerClass ) { return on ( 'init' , function
资源推荐
资源详情
资源评论
收起资源包目录
ember-cli-storybook-master.zip (54个子文件)
ember-cli-storybook-master
ember-cli-build.js 494B
testem.js 601B
node-tests
fixtures
build.html 2KB
engines.html 3KB
serve.html 2KB
root-url.html 2KB
util.js 11KB
.eslintrc.js 922B
addon-test-support
render-story.js 306B
index.js 57B
.npmignore 332B
.ember-cli 280B
CONTRIBUTING.md 651B
.travis.yml 1KB
config
environment.js 90B
ember-try.js 2KB
LICENSE.md 1KB
README.md 7KB
addon
.gitkeep 0B
.template-lintrc.js 57B
.editorconfig 367B
tests
integration
test-support-test.js 1KB
.gitkeep 0B
index.html 1KB
test-helper.js 234B
helpers
.gitkeep 0B
dummy
public
robots.txt 51B
config
targets.js 312B
environment.js 1KB
optional-features.json 154B
app
index.html 684B
models
.gitkeep 0B
styles
app.css 0B
controllers
.gitkeep 0B
components
.gitkeep 0B
helpers
.gitkeep 0B
app.js 388B
templates
application.hbs 48B
router.js 240B
routes
.gitkeep 0B
unit
.gitkeep 0B
util.js 4KB
blueprints
ember-cli-storybook
index.js 247B
files
.env 0B
.storybook
config.js 194B
preview-head.html 0B
.gitignore 418B
app
.gitkeep 0B
index.js 3KB
.watchmanconfig 37B
CHANGELOG.md 1KB
.eslintignore 199B
package.json 2KB
vendor
.gitkeep 0B
共 54 条
- 1
资源评论
工程求知者
- 粉丝: 31
- 资源: 4608
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功