The extension will first priorties tailwind.config.ts
then tailwind.config.js
then tailwind.config.cjs
workspacePath
: Use if the config file is not in the root of the project. For example, if you have a monorepo and the config file is in the root of the workspace. Default is current workspace root.
You can add either an absolute path (e.g. C:/Users/username/project/tailwind.config.js
) or a relative path (e.g. ./tailwind.config.js
).
0.0.8
tailwind.config.ts
file.0.0.6
workspacePath
config option now supports relative paths.0.0.5
workspacePath
config option.require
inside config file was causing an error if {type: module}
is enabled.0.0.4
Only use npm as a package manager as vsce commands will not work when other package managers are used.
npm install
cd client && npm install
When you open the project in VS Code, tasks will run automatically to build src and client folder. You can also run manually using the scripts in package.json for both folders.