@actionishope/shelley-puma 中文文档教程
Stylable + Shelley with Gatsby
盖茨比的打字稿启动器,包括 Jest 设置。
在现有 Gatsby 设置上进行样式化方面,您需要:
将 样式化插件 添加到您的code>gatsby-node.js
如果您使用的是 Typescript,则需要定义一个
@stylable/runtime
的全局模块声明。安装 VSCode 扩展“stylable-intelligence”
https://github.com/gatsbyjs/gatsby/issues/11072
Stylable + Shelley with Gatsby
Typescript starter for Gatsby including Jest setup.
In terms of getting stylable going on existing Gatsby setups you will need:
Add the stylable plugin to your
gatsby-node.js
If you are working with Typescript you will need to define a global module declaration for the
@stylable/runtime
.Install VSCode extension "stylable-intelligence"
https://github.com/gatsbyjs/gatsby/issues/11072