Skip to content

Commit 295a3f7

Browse files
chore: update nuxt readme and docs, extend default content (#3176)
1 parent 9acc25b commit 295a3f7

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/few-clocks-remember.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@storefront-ui/nuxt": patch
3+
---
4+
5+
[CHANGED] Update documentatnion/readme, extand default content path to `js` extension

apps/docs/components/content/2.getting-started/vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ In order for Tailwind to properly detect the utility classes used in Storefront
151151
import type { Config } from 'tailwindcss';
152152

153153
export default <Config>{
154-
content: ['./**/*.vue', './node_modules/@storefront-ui/vue/**/*.{js,mjs}'],
154+
content: ['./**/*.vue'],
155155
};
156156
```
157157

packages/sfui/frameworks/nuxt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In order for Tailwind to properly detect the utility classes used in Storefront
4141
import type { Config } from 'tailwindcss';
4242

4343
export default <Config>{
44-
content: ['./**/*.vue', './node_modules/@storefront-ui/vue/**/*.{js,mjs}'],
44+
content: ['./**/*.vue'],
4545
};
4646
```
4747

packages/sfui/frameworks/nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default defineNuxtModule<ModuleOptions>({
2222
},
2323
// Default configuration options of the Nuxt module
2424
defaults: {
25-
contentPath: './node_modules/@storefront-ui/vue/**/*.mjs',
25+
contentPath: './node_modules/@storefront-ui/vue/**/*.{js,mjs}',
2626
},
2727
async setup(options, nuxt) {
2828
const { contentPath } = options;

0 commit comments

Comments
 (0)