腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
ViewChild
在
Angular
和
Storybook
中
是
如何
工作
的
?
angular
、
storybook
、
viewchild
、
angular-storybook
我有一个叫做inline-help
的
组件。<ng-content select="help-body" class="help-body"></ng-content></div> 这个组件可以像这样使用(并且正常
工作
/help-title></inline-he
浏览 22
提问于2021-02-02
得票数 0
4
回答
如何
在Nx
工作
区角库
中
为童话启用Tailwind.css?
tailwind-css
、
nrwl-nx
、
angular-storybook
、
nx-workspace
我
在
Nx
工作
区
中
创建了一个角库来提供ui组件(ui-kit)。在这个图书馆里,我又加了一本故事簿,这本书运行得很好。现在,我还想包括Tailwind,因为组件使用它。我使用nx generate @nrwl/
angular
:setup-tailwind --project=ui-kit --buildTarget=build-
storybook
命令为该库设置顺风。图书馆
是
可建
的
。-imports.css. and@tailwi
浏览 13
提问于2022-02-25
得票数 4
回答已采纳
2
回答
故事书
Angular
NX
工作
空间:
如何
使用Chromatic发布?
angular
、
storybook
、
angular-storybook
、
chromatic
大家好,有人知道
如何
在NX
工作
区
中
运行
Storybook
Chromatic吗?我
的
Angular
应用程序
和
libs
在
本地服务时运行得很好,我
的
项目也运行得很好。我甚至在当地建立并发布了这些故事。我想要
的
是
将它发布到远程使用Chromatic,但我不知道
如何
。我正在尝试一些非常混乱
的
东西--但它不起作用。这是我
浏览 11
提问于2020-11-28
得票数 1
2
回答
使用全局样式表与故事书&角- SassError: SassError:预期
的
"{“
javascript
、
angular
、
webpack
、
sass
、
storybook
几天来,我一直试图
在
故事书中集成一个全局样式表。我已经从文档中集成了webpackFinal对sass
的
支持。
在
.
storybook
目录
中
,我创建了一个scss-loader.scss文件,该文件应该加载全局样式表。
在
'preview.js‘文件
中
,我导入preview.jsModuleBuildError: Module build failed (from .399:24) at MessagePort.expor
浏览 7
提问于2021-10-25
得票数 2
3
回答
角8与故事书6
angular
、
angular8
、
storybook
、
angular-storybook
在
安装
和
启动故事书时获得以下错误。ERROR in /Users/username/
angular
-
storybook
/src/stories/Button.stories.tsTS2307: Cannot f
浏览 6
提问于2020-08-18
得票数 6
回答已采纳
1
回答
如何
让Jest
在
Storybook
项目中使用
Angular
9
angular
、
typescript
、
jestjs
、
storybook
我们使用
的
是
Storybook
5
和
Angular
9,一些测试使用
的
是
Jest 26。问题
是
,当我们使用Typescript <3.8.0 -这显然
是
Angular
9
在
ng build --prod
中
需要
的
-我们会得到一堆如下所示
的
Jest类型错误: node_modules/@types当我们升级到Typescript 3.
浏览 2
提问于2020-12-10
得票数 1
1
回答
使用UI库
的
NX
工作
区
中
的
故事书
angular
、
storybook
、
nrwl-nx
我
的
NX
工作
区包含几个应用程序
和
库。我
是
第一次接触
storybook
,并遵循这里
的
命令:https://nx.dev/latest/
angular
/
storybook
/overview添加对
storybook
的
支持。我想把它添加到一个简单
的
组件库
中
。包含到
angular
模块,其中一个
是
用
浏览 17
提问于2021-04-02
得票数 0
2
回答
StoryBook
Angular
-错误!=>无法获取
angular
cli webpack配置
angular
、
storybook
、
angular-storybook
在
执行npm run
storybook
时,该过程失败,并显示以下错误: ERR! => Could not get
angular
cli webpack config
浏览 14
提问于2021-09-03
得票数 0
1
回答
“故事书”找不到“@故事书/角”模块
angular
、
typescript
、
storybook
、
angular-storybook
storybook
/
angular
/types-6-0'./Page.stories.ts(1,45): TS2307: Cannot find module '@
storybook
/
angular
'.但是,@
storybook
/
angular
是
在
package.json上安装
的
,而且当使用vscode可视化时,文件本身不会提示任何错误。我尝试使用goog
浏览 13
提问于2021-06-21
得票数 1
回答已采纳
1
回答
使用角7时不显示任何故事。
angular
、
storybook
我使用
的
是
故事书版本:4.1.12
和
Range7.2.4。成功地加载了故事书(我使用
的
是
角7),但是
在
仪表板上显示了这样
的
消息:“对不起,您要么没有故事,要么没有选择。”我确实有关于src\stories
的
故事。
在
index.stories.ts
中
输入垃圾时,我确实会在仪表板
中
得到一个错误(这意味着文件
是
由故事簿库编译
和
读取
的
)。我还尝试卸载<e
浏览 1
提问于2019-02-20
得票数 0
1
回答
Angular
9 + NX +
Storybook
:为什么我
的
Scss样式
在
Storybook
中被忽略了?无错误
angular
、
sass
、
storybook
、
nrwl-nx
大家好,有没有人在NX
工作
区中使用
Angular
9+使用Scss / Sass来处理
Storybook
? 有什么
工作
指南吗?它对我不起作用,所以我可能做错了什么。(
Storybook
&NX
的
新功能)该应用程序运行良好-使用Sass没有问题,但在
Storybook
中被忽略。我已经学习了很多例子,但是这些风格并没有得到应用。我使用
的
是
NX App-shell
和
Libs方法。来自其他在线用户
的
浏览 5
提问于2020-07-14
得票数 3
1
回答
故事书构建失败,TS错误“Interface”事件
在
角上错误地扩展了接口‘KeyboardEvent’
angular
、
typescript
、
storybook
、
angular-storybook
我
在
我
的
角项目中安装了
Storybook
,直到今天,当我运行了yarn install,在这个故事书构建失败之后,所有的事情都进行得很好,出现了以下TS错误 node_modules/@
storybook
属性“目标”
的
类型
是
不兼容
的
。呃!(事件:事件):布尔;getAttribute(attr: string):string 000-null;}’但在类型'EventTarget‘
中
是
必需
的
。&q
浏览 15
提问于2022-10-12
得票数 3
回答已采纳
1
回答
用于
Angular
12
的
故事书插件StoryShots
angular
、
jestjs
、
storybook
、
angular-storybook
、
snapshot-testing
我将在
Angular
12下使用
Storybook
安装快照测试。问题出在
Storybook
中
的
Storyshorts插件。initStoryshots from '@
storybook
/addon-storyshots'; initStoryshots(); 当我
在
我
的
Angular
项目中运行命令jest时,我变成了这个错误/addon-storyshots/dist/ts
浏览 50
提问于2021-10-21
得票数 1
回答已采纳
1
回答
在
带有
Angular
的
Storybook
6
中
使用TailwindCss
angular
、
tailwind-css
、
storybook
我正在使用
Angular
(11.2.8)构建一个组件库,并尝试添加TailwindCss
和
StoryBook
6。 我发现了不同
的
配置,但它们都不起作用。运行
storybook
时,我
的
组件没有样式。下面
是
我
的
配置: .
storybook
/main.js const path = require('path'); stories: ['..moduleMe
浏览 29
提问于2021-04-19
得票数 5
1
回答
在
一个项目中
工作
,而不是
在
另一个项目中
工作
angular
、
sass
$pxValue) {}这些
是
我
的
包依赖关系: "@
angular
/animations": "~11.1.2",ad
浏览 17
提问于2022-03-16
得票数 0
2
回答
如何
在
Angular
Story Book
中
包含字体、包
和
CSS框架?
angular
、
storybook
在
Angular
故事书中,我们在哪里包含任何外部字体?我使用materialize css
和
一些google字体。family=Montserrat:400" rel="stylesheet"> "styles": [ "styles.css"
浏览 1
提问于2018-03-16
得票数 4
1
回答
故事书
的
构图永远在角+ Nx应用程序中加载。
angular
、
storybook
我有一个Nx
和
一些角唇,我试图让故事簿
的
写作
工作
。我有两本不同
的
故事书,一本在运行,另一本
在
。我可以单独运行它们,也可以构建它们,但是当尝试运行它们以进行组合时,我得到
的
是
控制台上没有错误
和
无限加载。这是我
的
作文设置(.
storybook
/main.js): core: { builder: 'webpack5' }, stories: []
浏览 5
提问于2022-06-06
得票数 0
回答已采纳
2
回答
从角度2开始
的
angular
.element替代
angular
、
typescript
、
dom
important;}"; 我正在将我
的
应用程序迁移到角2,现在从角2开始,
angular
对象不可用。如果有人能提出一个
在
角度2
中
实现同样目标的可能方法,那将是非常有帮助
浏览 6
提问于2017-07-18
得票数 10
回答已采纳
1
回答
离子2离子含量与Android
中
离子标头
的
重叠
ionic2
当我
在
页眉中加载图像时,离子标签
和
离子内容重叠,它只
在
我第一次访问页面时发生,之后它很好地加载。这是组件import { NavController } from 'ionic-
angular
';在这个柱塞
中
查看一个示例
是
可行
的
。
浏览 0
提问于2016-11-09
得票数 1
2
回答
不可能使用离子幻灯片方法(ChangeDetectorRef没有提供程序)
ionic-framework
、
ionic4
我想使用离子幻灯片方法getActiveIndex(),但是当我作为提供程序导入离子幻灯片时,我有以下错误:谢谢!liste.page.ts : selector: 'app-liste',@
an
浏览 1
提问于2019-04-24
得票数 4
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
【译】Arc在Rust 中是如何工作的
2018 年关于前端开发的五大发展趋势
Angular 9即将发布:改进Ivy编译和渲染管道
GitHub 上需要关注的 10 大顶级 React 库
前端每周清单:探究 V8 引擎,2018 前端性能清单
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券