Skip to content

Commit

Permalink
get setup ui tailwindcss working
Browse files Browse the repository at this point in the history
  • Loading branch information
redwoodjsbot committed Feb 19, 2022
1 parent 2411eec commit 0716ebc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli/src/commands/setup/ui/libraries/tailwindcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ export const handler = async ({ force, install }) => {
}
}

await execa('yarn', ['tailwindcss', 'init', tailwindConfigPath])
await execa('yarn', ['tailwindcss', 'init', tailwindConfigPath], {
cwd: rwPaths.web.base,
})

// Replace `content`.
const tailwindConfig = fs.readFileSync(tailwindConfigPath, 'utf-8')
Expand Down

0 comments on commit 0716ebc

Please sign in to comment.