Eric
Eric
Explore posts from servers
NNuxt
Created by Artist201 on 7/26/2024 in #❓・help
Building a Desktop/Mobile web nuxt app
Yes it can access mobile features. Hussles ? Not really. To me, the main downside is that it is linked to the browser. The user could unsinstall their browser not knowing it will unistall the app, therefore risking loosing the local data. If it's really just a frontend app that mirrors a database (like facebook, twitter, etc), there wont really be data stored locally.
10 replies
NNuxt
Created by Artist201 on 7/26/2024 in #❓・help
Building a Desktop/Mobile web nuxt app
You can sell/share pwa's on app stores. and it's not "just" a shortcut. You can install the app and access it off line like a standard app.
I'm not sure I understand your question correctly. If you are looking for the most straight forward way to transform a website/webapp into a proper app, pwa is the way to go. It's efficient and really easy. You could also use flutter that lets you publish your code for the wen android and ios. But it's not as easy and straight forward.
10 replies
NNuxt
Created by Eric on 7/26/2024 in #❓・help
Proxying asset url from Directus
So I think I might have found a solution with the image module.
It provides a way to configure a provider url. When setting up the provider, you setup a baseUrl in the nuxt.config.ts file. My question is: will this url be exposed publicly ? or will it only be available server side ?
2 replies
NNuxt
Created by Artist201 on 7/26/2024 in #❓・help
Building a Desktop/Mobile web nuxt app
pwa = Progressive web app
10 replies
NNuxt
Created by Artist201 on 7/26/2024 in #❓・help
Building a Desktop/Mobile web nuxt app
have you ever built a PWA ? it's just a website/web app that can be installed on a mobile device. It gets it's own icon in the device and acts just like a normal app. The only caveat is that it is linked to the web browser. If you install it through Firefox and uninstall Firefox, the app will be uninstalled.
10 replies
NNuxt
Created by Artist201 on 7/26/2024 in #❓・help
Building a Desktop/Mobile web nuxt app
Hi!
10 replies
NNuxt
Created by Eric on 5/3/2024 in #❓・help
Middleware for OUTGOIN requests ?
thanks for you response ! but I don't see what you mean 😅
6 replies
NNuxt
Created by marvin on 4/12/2024 in #❓・help
Cannot read properties of null (reading 'previousSibling')
Sorry I took so long. do you still have the problem ?
6 replies
NNuxt
Created by marvin on 4/12/2024 in #❓・help
Cannot read properties of null (reading 'previousSibling')
Do you use the previousSibling in your code? It looks like an error because the DOM tries to acces some data that doesn't exist (yet). often because the app tries to create html elements based on data that hasn't arrived back from a fetch request.
6 replies
NNuxt
Created by Eric on 4/16/2024 in #❓・help
UseAsyncData with a request params defined by a computed property ?
Thanks for your help. I finaly took another approach, but I managed to get this to work. thanks!
9 replies
NNuxt
Created by Eric on 4/16/2024 in #❓・help
UseAsyncData with a request params defined by a computed property ?
I shouldn't expect it to re-execute it? oh. I thought that's what the goal is... what does that watch param do then ?
9 replies
NNuxt
Created by Eric on 4/16/2024 in #❓・help
UseAsyncData with a request params defined by a computed property ?
thanks for you answer ! yep sorry. this is a simplified version to make the question easier to understand, and I made somt typos when rewiting it. in my code these errors were fine. Do you know if it should technicaly work ? useAsyncData with a computed prop as queryParameters ?
9 replies
NNuxt
Created by marvin on 4/12/2024 in #❓・help
Cannot read properties of null (reading 'previousSibling')
it's probably an error in the code. It's a common error. Do you know what part of the code produces this error ?
6 replies
NNuxt
Created by Cesxhin on 4/11/2024 in #❓・help
[RESOLVED] Problem with modules
can you show the code in sideMenuMayout and also the code where you import in a page/component?
4 replies
NNuxt
Created by Room 208 on 4/11/2024 in #❓・help
Question about reading deployed file system using server/api
I was justa wandering if the fs modules was trying to run client side. I'm not familiar with it, but it seems to be a nodejs module? might not be compatible client side
5 replies
NNuxt
Created by Cody Bontecou on 4/11/2024 in #❓・help
What is the recommended route to using a 3rd-party composable that relies on the window object?
The latest version that came out a few days ago lets you create server and client pages. you just have to name the page file 'page.client.vue" or "page.server.vue"
4 replies