Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
update tailwind version, modify for glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
foucist committed Oct 31, 2018
1 parent 216bae2 commit 96471f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ After that you will have a ready to deploy bundle at `/dist`
## Contributing

Have a lot of experience with Webpack and suggestions on how we could improve this starter template? We'd love a PR!

## Run on Glitch

1. Open console in Advanced Options.
2. Tailwind needs access to Webpack to work. To allow this, copy the following command into terminal: ```chmod -R u+x node_modules/webpack/bin```. You only need to do this once per session.
3. To start Tailwind: ```npm run dev```.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server",
"prod": "cross-env NODE_ENV=production webpack --no-progress"
"prod": "cross-env NODE_ENV=production webpack --no-progress",
"start": "node server.js"
},
"devDependencies": {
"cross-env": "^5.1",
Expand All @@ -12,7 +13,7 @@
"postcss": "^6.0.19",
"postcss-loader": "^2.1.1",
"style-loader": "^0.20.3",
"tailwindcss": ">=0.6.5",
"tailwindcss": ">=0.6.6",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.12",
"webpack-dev-server": "^3.1.1"
Expand Down

0 comments on commit 96471f5

Please sign in to comment.