Skip to content

Commit 1b07e36

Browse files
committed
feat: update development documentation and test config
Added notes for running and debugging tests in VSCode. Updated nuxt.config.ts to allow relative paths in ignoreOptions.
1 parent 67b2076 commit 1b07e36

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/DEVELOPMENT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,8 @@ yarn dev
219219
yarn test
220220
```
221221

222+
> [!NOTE]
223+
> If using VSCode, you can also run and debug tests directly from the editor.
224+
> In case the VS Code Plugin stops reading tests use 'Developer: Reload Window'.
225+
222226
<p align="right">(<a href="#development-top">back to top</a>)</p>

nuxt.config.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ export default defineNuxtConfig({
33
compatibilityDate: '2024-04-03',
44
devtools: { enabled: true },
55

6+
ignoreOptions: {
7+
allowRelativePaths: true,
8+
},
9+
610
routeRules: {
711
// Home generated on demand, revalidates in background, cached for 1 hour (3600 seconds)
812
'/': { isr: 3600 },
@@ -49,14 +53,6 @@ export default defineNuxtConfig({
4953
prefix: '',
5054
componentDir: './components/ui'
5155
},
52-
postcss: {
53-
plugins: {
54-
'postcss-import': {},
55-
'tailwindcss/nesting': {},
56-
'tailwindcss': {},
57-
'autoprefixer': {},
58-
},
59-
},
6056
tailwindcss: {
6157
cssPath: '~/assets/styles/main.css',
6258
},

0 commit comments

Comments
 (0)