Skip to content

Commit a145afd

Browse files
authored
docs: tip for initial setup issues (#191)
1 parent fae88ee commit a145afd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ Generate a `tailwind.config.js` with
2929
npx tailwindcss init
3030
```
3131

32-
Adjust `content`, `darkMode`, `corePlugins` plus any other settings you need, here are the values we recommend:
32+
When the [NativeScript CLI](https://github.com/NativeScript/nativescript-cli) creates a new project, it may put code into a `src` folder instead of the `app` referenced below. Adjust `content`, `darkMode`, `corePlugins` plus any other settings you need. Here are the values we recommend. If you're struggling to get Tailwind working for the first time, check the `content` setting.
3333

3434
```js
3535
// tailwind.config.js
3636
const plugin = require('tailwindcss/plugin');
3737

3838
/** @type {import('tailwindcss').Config} */
3939
module.exports = {
40+
// check this setting first for initial setup issues
4041
content: [
4142
'./app/**/*.{css,xml,html,vue,svelte,ts,tsx}'
4243
],

0 commit comments

Comments
 (0)