Zeeeth
Zeeeth
Explore posts from servers
NNuxt
Created by Sagar Kapoor on 10/19/2024 in #❓・help
How to password protect a site?
With nuxt Security module you are able to add basic auth https://nuxt-security.vercel.app/documentation/middleware/basic-auth
3 replies
NNuxt
Created by Ryan on 10/16/2024 in #❓・help
Nuxt / ESLint and VS Code
Yarn
9 replies
NNuxt
Created by Ryan on 10/16/2024 in #❓・help
Nuxt / ESLint and VS Code
"eslint.useFlatConfig": true,
"eslint.format.enable": true,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"eslint.useFlatConfig": true,
"eslint.format.enable": true,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
9 replies
NNuxt
Created by Ryan on 10/16/2024 in #❓・help
Nuxt / ESLint and VS Code
i don't think i did any configuration at all
9 replies
NNuxt
Created by Ryan on 10/16/2024 in #❓・help
Nuxt / ESLint and VS Code
Yeah i've got no issues with it
9 replies
NNuxt
Created by Skruse on 10/12/2024 in #❓・help
Fresh Nuxt3 installation throws Content Security Policy error
take a look at the deployment docs, that should solve your issues. dev is only for local environment https://nuxt.com/docs/getting-started/deployment
8 replies
NNuxt
Created by Skruse on 10/12/2024 in #❓・help
Fresh Nuxt3 installation throws Content Security Policy error
Hi! first thing to check, you shouldn't run in dev on server
8 replies
NNuxt
Created by Skruse on 10/12/2024 in #❓・help
Fresh Nuxt3 installation throws Content Security Policy error
I think since it's in server environment it is a bit hard for anyone to be able to help since a reproduction wont be possible. Could you provide some more information about the deployment process? Maybe a step by step how you deploy it, start it and so on. What server environment? What provider?
8 replies
NNuxt
Created by Zeeeth on 10/1/2024 in #❓・help
Add data to store on Page Refresh
Thank you all for your input! I think i will give a plugin a go since i want this to work with SSR.
8 replies
NNuxt
Created by ciaddi on 10/2/2024 in #❓・help
Problem with Nuxt3 and Google Adsense
I think you should take a look at https://scripts.nuxt.com/ and the Adsense integration. Its not 100% tested according to the docs, but maybe it works for you?
2 replies
NNuxt
Created by Zeeeth on 9/30/2024 in #❓・help
Initializing a pinia store
Wow, okay that was easy enough, thanks!
6 replies
NNuxt
Created by Gawel91 on 4/3/2024 in #❓・help
TypeScript in VSCode often failing
I use both WebStorm and VSCode because some of my colleagues use VSCode, and i need to say that the money you spend for the license of WebStorm you probably make up in efficiency
14 replies
NNuxt
Created by Gawel91 on 4/3/2024 in #❓・help
TypeScript in VSCode often failing
or, well, the Early Access Program L422Y linked is free
14 replies
NNuxt
Created by Gawel91 on 4/3/2024 in #❓・help
TypeScript in VSCode often failing
No, it is not free, but Good things in life cost moneys 💰
14 replies
NNuxt
Created by NT Diesel on 3/22/2024 in #❓・help
Layout doesn't change when using navigateTo in the nuxt middleware
How your App.vue look?
54 replies
NNuxt
Created by ! GhostvOne.tv 👻🇫🇷 on 3/11/2024 in #❓・help
[useFetch] Component is already mounted, please use $fetch instead (in middleware)
i also have separated this into two different middlewares: * 10.auth.global.ts * 20.user.global.ts the auth-middleware handle the authentication and user-middleware make sure the userStore is populated with the current user if the user is authenticated
10 replies
NNuxt
Created by ! GhostvOne.tv 👻🇫🇷 on 3/11/2024 in #❓・help
[useFetch] Component is already mounted, please use $fetch instead (in middleware)
Im sorry you havn't gotten any real help. I do almost the same thing that you do, but i do not use useFetch in my middleware, but $fetch as stated by the warning. What i do to avoid the multi-call is to store the user in a store. You may use the useStore or some other store manager. That way, you can check if the user is already fetched, end if not refresh the user into your store
10 replies
NNuxt
Created by Medim on 2/20/2024 in #❓・help
Can't find auto import in slug route
What IDE do you use?
12 replies
NNuxt
Created by BobLamarley on 2/15/2024 in #❓・help
NuxtLink create an a href="", but a click on it doesn't change page, anything happen
Isn't the problem that you've got a button inside a anchor? I think that's almost illegal? 😬
7 replies