Adding tailwind as css library, build config and fetch posts fix
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user