DanjelDurmo
DanjelDurmo
WWasp-lang
Created by DanjelDurmo on 11/19/2024 in #đŸ™‹questions
Something wrong with SEO?
@NEROX thank you very much for your time and for your comprehensive answer. I'm going to use react-helmet-async as per your suggestion.
12 replies
WWasp-lang
Created by DanjelDurmo on 10/19/2024 in #đŸ™‹questions
Flask server in wasp
Thank you all, I have run successfully my flask backend. Very soon i will deliver my wasp webapp
8 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
Thanks Martinsos for the advice. I would like to avoid to find and rewrite all the class names because it would be a very time consuming activity. I think I will move in the direction of looking for a solution via Vite or CSS-in-JS. But I thought that the build should handle these situations. Thank you and best regards
15 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
I think I figured out the problem. In my code, I load two different css dynamically based on whether the page is classified as "landing page" or not. I do this because there are classes that conflict. However, in the build procedure the only css that it generates is not loaded dynamically and therefore becomes global and interferes with my landing page code. Is there a way to work around this problem with the wasp build @miho ?
15 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
If I removed from /.wasp/build/web-app/build/index.html the line <link rel="stylesheet" crossorigin href="/assets/index-wmKWraEg.css"> the layout of landigpage looks fine but the dashboard layout broken
15 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
No I'm not using Tailwind because I'm not familiar with it. Instead, I have imported css in the AppNavBarLanding in this way:
useEffect(() => {
const loadResources = async () => {
await import('../assets/loremipsum.css');
... OTHER ...
setIsPageLoaded(true);
JavaScriptLanding();
};

loadResources();
}, []);
useEffect(() => {
const loadResources = async () => {
await import('../assets/loremipsum.css');
... OTHER ...
setIsPageLoaded(true);
JavaScriptLanding();
};

loadResources();
}, []);
And this are used for the landing page and for other page of the site, but for the real web application (after login) i have imported other css because the layout is different, and from AppNavBar i have imported:
useEffect(() => {
const loadStyles = async () => {
await import('../assets/css/styles.css');
await import('./Main.css');
};

loadStyles();
});
useEffect(() => {
const loadStyles = async () => {
await import('../assets/css/styles.css');
await import('./Main.css');
};

loadStyles();
});
So, this in dev work fine and I obtain the expected result, but in PROD not and i don't see any error. But I managed to replicate this wrong behavior also in localhost and to obtain the wrong template (as PROD) I should put in the import the code like
import '../assets/loremipsum.css'
import '../assets/loremipsum.css'
So, a duplicate import break completely the layout, but why in PROD i have this duplication of import css. Any way to avoid this? Many thanks for your support
15 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
No description
15 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
No description
15 replies
WWasp-lang
Created by DanjelDurmo on 10/5/2024 in #đŸ™‹questions
Go-live issue
Hello @miho, thank you for the guide provided. I have followed exactly the configuration and know in datanext.app i have deployed. But the design of the page looks extremaly different from localhost. It is any chance to check the reason? Please see the foto bellow
15 replies
WWasp-lang
Created by DanjelDurmo on 9/4/2024 in #đŸ™‹questions
deployment with Digital Ocean
@Wlski @miho thank you for the good advice
13 replies
WWasp-lang
Created by DanjelDurmo on 9/4/2024 in #đŸ™‹questions
deployment with Digital Ocean
Right, like fly.io but i think that digital ocean is better because we can deploy front to back to db here with cheap. Maybe someone of @Wasp Team can provide a quick guide?
13 replies
WWasp-lang
Created by DanjelDurmo on 8/21/2024 in #đŸ™‹questions
Error 401 with authentication
Issue solved, i have modified the layout in to .wasp/out/sdk/wasp/dist/auth/forma/Auth.jsx but those changes was deleted by system (maybe after rebuild). Thanks DD
9 replies
WWasp-lang
Created by DanjelDurmo on 8/21/2024 in #đŸ™‹questions
Error 401 with authentication
No description
9 replies