From 75a8df18c9d53e96b24a854df31d336846301257 Mon Sep 17 00:00:00 2001 From: Alex Hatzipanis Date: Fri, 22 Mar 2019 23:59:52 +1300 Subject: [PATCH] Init Tailwind on project creation --- composer.json | 2 ++ postcss.config.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index bd41b88..328ff0c 100644 --- a/composer.json +++ b/composer.json @@ -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" ] } diff --git a/postcss.config.js b/postcss.config.js index 612fe09..e45f69d 100755 --- a/postcss.config.js +++ b/postcss.config.js @@ -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: {