gatsby plugin vanilla extract:Gatsby插件打包了香草提取包易于使用 源码
gatsby-plugin-vanilla-extract Gatsby插件包装了项目,可轻松在Gatsby中使用。 设置 yarn add gatsby-plugin-vanilla-extract 添加到您网站的gatsby-config.js 。 module . exports = { plugins : [ `gatsby-plugin-vanilla-extract` ] , } ; 如何使用 有关完整文档,请参见文件。 简单的例子。 src/pages/index.ts import * as React from "react" ; import { className } from "../styles/index.css.ts" ; export default function Index ( ) { return < div className
下载地址
用户评论