Skip to content

Commit

Permalink
Opt-in to Nuxt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrRip committed Oct 16, 2024
1 parent d7d0d42 commit eb36521
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default withNuxt(
}
},
{
files: ['packages/*/pages/**/*.vue'],
files: ['packages/*/app/pages/**/*.vue'],
rules: { 'vue/multi-word-component-names': 'off' }
},
{
Expand Down
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ export default defineNuxtConfig({
],

// Feature flags
future: {
compatibilityVersion: 4
},

compatibilityDate: '2024-07-19',

// Tooling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

export { default } from '../../app.config'
export { default } from '../../../app/app.config'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion packages/admin/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineNuxtConfig({
},

css: [
'@/../../assets/css/main.css',
'~/../../../app/assets/css/main.css',
'@fortawesome/fontawesome-svg-core/styles.css'
],

Expand All @@ -56,6 +56,10 @@ export default defineNuxtConfig({
},

// Feature flags
future: {
compatibilityVersion: 4
},

compatibilityDate: '2024-07-19',

// Nitro
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

export { default } from '../../app.config'
export { default } from '../../../app/app.config'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion packages/home/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineNuxtConfig({
},

css: [
'@/../../assets/css/main.css',
'~/../../../app/assets/css/main.css',
'@fortawesome/fontawesome-svg-core/styles.css'
],

Expand All @@ -49,6 +49,10 @@ export default defineNuxtConfig({
},

// Feature flags
future: {
compatibilityVersion: 4
},

compatibilityDate: '2024-07-19',

// Nitro
Expand Down
6 changes: 3 additions & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import scrollbar from 'tailwind-scrollbar'
export default {
content: [
'./nuxt.config.ts',
'./app.vue',
'./pages/**/*.vue',
'./components/**/*.vue'
'./app/app.vue',
'./app/pages/**/*.vue',
'./app/components/**/*.vue'
],
theme: {
colors: {
Expand Down

0 comments on commit eb36521

Please sign in to comment.