Skip to content

Commit

Permalink
Init Tailwind on project creation
Browse files Browse the repository at this point in the history
  • Loading branch information
hatzipanis committed Mar 22, 2019
1 parent 43125e4 commit 75a8df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"@php -r \"unlink('README.md');\"",
"@php -r \"rename('composer.json.default', 'composer.json');\"",
"@composer dump-autoload -o",
"yarn install",
"yarn tailwind init tailwind.config.js",
"@php craft setup/welcome"
]
}
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
require("postcss-import")({
plugins: [require("stylelint")]
}),
require("tailwindcss")("./tailwind.js"),
require("tailwindcss")("./tailwind.config.js"),
require("postcss-preset-env")({
autoprefixer: { grid: true },
features: {
Expand Down

0 comments on commit 75a8df1

Please sign in to comment.