Skip to content

Commit

Permalink
refactor: Remove useCookie hook from AuthService
Browse files Browse the repository at this point in the history
  • Loading branch information
trandaison committed Oct 3, 2024
1 parent a5eaa4f commit 073dc6e
Show file tree
Hide file tree
Showing 11 changed files with 7,157 additions and 6,675 deletions.
34 changes: 34 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "client: chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
},
{
"type": "node",
"request": "launch",
"name": "server: nuxt",
"outputCapture": "std",
"program": "${workspaceFolder}/node_modules/nuxi/bin/nuxi.mjs",
"args": [
"dev",
"playground"
],
}
],
"compounds": [
{
"name": "fullstack: nuxt",
"configurations": [
"server: nuxt",
"client: chrome"
]
}
]
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@
"@nuxt/module-builder": "^0.5.4",
"@nuxt/schema": "^3.8.2",
"@nuxt/test-utils": "^3.12.0",
"@types/cookie": "^0.6.0",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.10.3",
"changelogen": "^0.5.5",
"cookie": "^0.6.0",
"eslint": "^8.55.0",
"nuxt": "^3.12.4",
"nuxt": "^3.13.2",
"vitepress": "^1.2.3",
"vitest": "^1.6.0"
}
Expand Down
3 changes: 2 additions & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default defineNuxtConfig({
i18n: {
locales: ["en", "fr"],
vueI18n: "i18n.config.ts",
defaultLocale: 'en',
},

auth: {
Expand Down Expand Up @@ -58,4 +59,4 @@ export default defineNuxtConfig({

devtools: { enabled: true },
compatibilityDate: "2024-08-13",
});
});
Loading

0 comments on commit 073dc6e

Please sign in to comment.