Skip to content

Commit 02a9d77

Browse files
authored
feat: add tailwind to uli-website (#714)
1 parent 4ab5e41 commit 02a9d77

File tree

8 files changed

+833
-72
lines changed

8 files changed

+833
-72
lines changed

uli-website/gatsby-browser.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from "react"
2+
import "./src/styles/global.css";
3+
4+
/**
5+
* Implement Gatsby's Browser APIs in this file.
6+
*
7+
* See: https://www.gatsbyjs.org/docs/browser-apis/
8+
*/
9+
10+
// You can delete this file if you're not using it
11+
12+
export const wrapRootElement = ({ element }) => {
13+
return <div id="app">{element}</div>;
14+
};

uli-website/gatsby-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
"gatsby-plugin-mdx",
1010
"gatsby-plugin-sharp",
1111
"gatsby-transformer-sharp",
12+
"gatsby-plugin-postcss",
1213
{
1314
resolve: "gatsby-source-filesystem",
1415
options: {

uli-website/gatsby-ssr.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React from "react"
2+
import "./src/styles/global.css";
3+
4+
/**
5+
* Implement Gatsby's SSR (Server Side Rendering) APIs in this file.
6+
*
7+
* See: https://www.gatsbyjs.org/docs/ssr-apis/
8+
*/
9+
10+
// You can delete this file if you're not using it
11+
12+
export const wrapRootElement = ({ element }) => {
13+
return <div id="app">{element}</div>;
14+
};

0 commit comments

Comments
 (0)