Adding tailwind as css library, build config and fetch posts fix

This commit is contained in:
Moris Zen
2018-06-27 12:06:15 +02:00
parent 8dc66673d0
commit 0749dfa80b
9 changed files with 21245 additions and 10 deletions

View File

@@ -8,7 +8,8 @@
"gatsby-link": "^1.6.40",
"gatsby-plugin-react-helmet": "^2.0.10",
"gatsby-source-wordpress": "^2.0.93",
"react-helmet": "^5.2.0"
"react-helmet": "^5.2.0",
"tailwindcss": "^0.6.1"
},
"keywords": [
"gatsby"
@@ -16,7 +17,8 @@
"license": "MIT",
"scripts": {
"build": "gatsby build",
"develop": "gatsby develop",
"build:css": "tailwind build ./src/styles/index.tailwind.css -c ./tailwind.config.js -o ./src/styles/index.css",
"develop": "npm run build:css && gatsby develop",
"format": "prettier --write 'src/**/*.js'",
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -27,4 +29,4 @@
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby-starter-default"
}
}
}