-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from wisemen-digital/feature/nuxt-4
[FEATURE]: Nuxt 4 template
- Loading branch information
Showing
334 changed files
with
22,725 additions
and
2,526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
NUXT_PUBLIC_BASE_URL= | ||
NUXT_PUBLIC_API_BASE_URL= | ||
NUXT_PUBLIC_API_AUTH_URL= | ||
NUXT_PUBLIC_API_CLIENT_ID= | ||
NUXT_PUBLIC_API_CLIENT_SECRET= | ||
|
||
NUXT_PUBLIC_ENVIRONMENT= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,16 @@ | ||
{ | ||
"eslint.experimental.useFlatConfig": true, | ||
"prettier.enable": false, | ||
"editor.formatOnSave": false, | ||
"html.format.enable": false, | ||
// Formatting with ESLINT | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "always", | ||
"source.organizeImports": "always" | ||
}, | ||
|
||
// Change to main project language | ||
"i18n-ally.sourceLanguage": "nl", | ||
"i18n-ally.displayLanguage": "nl", | ||
"eslint.rules.customizations": [ | ||
{ | ||
"rule": "style/*", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "format/*", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*-indent", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*-spacing", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*-spaces", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*-order", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*-dangle", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*-newline", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*quotes", | ||
"severity": "off" | ||
}, | ||
{ | ||
"rule": "*semi", | ||
"severity": "off" | ||
} | ||
], | ||
// Enable eslint for all supported languages | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"vue", | ||
"html", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"yaml", | ||
"toml" | ||
], | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.localesPaths": [ | ||
"locales" | ||
"layers/base/locales", | ||
"layers/auth/locales", | ||
"app/locales" | ||
], | ||
"i18n-ally.displayLanguage": "nl", | ||
"i18n-ally.enabledFrameworks": [ | ||
"vue" | ||
], | ||
// Fix unknown at-rules for scss and css (UnoCSS) | ||
"scss.lint.unknownAtRules": "ignore", | ||
"css.lint.unknownAtRules": "ignore" | ||
"i18n-ally.keystyle": "flat", | ||
"typescript.preferences.importModuleSpecifier": "non-relative", | ||
"javascript.preferences.importModuleSpecifier": "non-relative", | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"i18n-ally.sourceLanguage": "en" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { ConfigProvider } from 'radix-vue' | ||
function useIdFunction() { | ||
return useId() | ||
} | ||
</script> | ||
|
||
<template> | ||
<SeoWrapper> | ||
<div class="flex w-screen flex-1"> | ||
<div class="w-full"> | ||
<ConfigProvider :use-id="useIdFunction"> | ||
<NuxtLoadingIndicator color="#E94935" /> | ||
<NuxtLayout> | ||
<NuxtPage /> | ||
</NuxtLayout> | ||
<Teleport to="#teleports"> | ||
<AppDialogContainer /> | ||
<AppToastContainer /> | ||
</Teleport> | ||
</ConfigProvider> | ||
</div> | ||
</div> | ||
</SeoWrapper> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<div> | ||
<div class="flex min-h-screen flex-col"> | ||
<div class="container relative z-0 mx-auto flex w-full flex-1 flex-col items-center justify-center overflow-x-hidden px-4"> | ||
<slot /> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"test.login.forgot_password": "Wachtwoord vergeten?" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<template> | ||
<div class="w-full"> | ||
<MockConstruction /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<script setup lang="ts"> | ||
definePageMeta({ | ||
middleware: 'auth-middleware', | ||
}) | ||
</script> | ||
|
||
<template> | ||
<div class="w-full"> | ||
<MockConstruction /> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://wisemen-digital.github.io/vue-core/_generation", | ||
"aliases": { | ||
"components": "@base/components/core", | ||
"composables": "@base/composables/core", | ||
"config": "./layers/base", | ||
"icons": "@base/icons", | ||
"libs": "@base/libs", | ||
"root": "./layers/base", | ||
"styles": "@base/assets/styles", | ||
"types": "@base/types/core", | ||
"utils": "@base/utils/core" | ||
}, | ||
"style": "wisemen" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.