tavanogui
tavanogui
DDeno
Created by tavanogui on 5/22/2024 in #help
How to prevent redirect from "/path/" to "/path"
No description
4 replies
DDeno
Created by tavanogui on 5/22/2024 in #help
How to prevent redirect from "/path/" to "/path"
found it
4 replies
DDeno
Created by tavanogui on 3/4/2024 in #help
Is there a way to select Partial Mode on button?
Actually, the mode is indicated by <Partial that is coming, not current one. So, I just added a param at my link and my component know how to handle with.
3 replies
DDeno
Created by martpet on 1/16/2024 in #help
How to use `f-partial` from Fresh?
29 replies
DDeno
Created by martpet on 1/16/2024 in #help
How to use `f-partial` from Fresh?
makes sense?
29 replies
DDeno
Created by martpet on 1/16/2024 in #help
How to use `f-partial` from Fresh?
As I have replace default at parent Partial, the "append" inside is being ignored and replaced too. If I have:
<Partial name="modal">
<p>example</p>
<Partial name="modal-content" mode="append">
<p>here is cool content</p>
</Partial>
</Partial>
<Partial name="modal">
<p>example</p>
<Partial name="modal-content" mode="append">
<p>here is cool content</p>
</Partial>
</Partial>
And fetch a page with:
<Partial name="modal">
<p>example 2</p>
<Partial name="modal-content" mode="append">
<p>second cool content</p>
</Partial>
</Partial>
<Partial name="modal">
<p>example 2</p>
<Partial name="modal-content" mode="append">
<p>second cool content</p>
</Partial>
</Partial>
I expected that parent partial replace the content and nested partial append, new page like:
<Partial name="modal">
<p>example 2</p>
<Partial name="modal-content" mode="append">
<p>here is cool content</p>
<p>second cool content</p>
</Partial>
</Partial>
<Partial name="modal">
<p>example 2</p>
<Partial name="modal-content" mode="append">
<p>here is cool content</p>
<p>second cool content</p>
</Partial>
</Partial>
29 replies
DDeno
Created by martpet on 1/16/2024 in #help
How to use `f-partial` from Fresh?
any plans to make it automatic?
29 replies
DDeno
Created by martpet on 1/16/2024 in #help
How to use `f-partial` from Fresh?
can we do that with a different mode at nested Partial? <Partial name="modal"> <Partial name="modal-content" mode="append"> <p>here is cool content</p> </Partial> </Partial> I am trying to do that, but looks like that nested partials are ignored. My route at <a>-tag is entire page, should it work or just if I have a route that brings my nested partial?
29 replies
DDeno
Created by tavanogui on 1/8/2024 in #help
How can I access req object inside a render() function from fresh plugin?
nice! started something here: https://github.com/denoland/fresh/pull/2224
11 replies
DDeno
Created by alex-009 on 11/21/2023 in #help
web based cms
Hey @alex-009 I just saw your thread now, we are working on a CMS based on deno + fresh here at https://deco.cx/
4 replies
DDeno
Created by tavanogui on 1/8/2024 in #help
How can I access req object inside a render() function from fresh plugin?
No description
11 replies
DDeno
Created by tavanogui on 1/8/2024 in #help
How can I access req object inside a render() function from fresh plugin?
yes, we would like to listen popular approachs for i18n but, in general line we are doing something like:
11 replies