Content Page Include not working

I have this structure:

index.html
views/partials/_something.html
views/partials/_partialForSomething.html

When I add a Content Page Include on _something.html and point it to _partialForSomething.html I see this in the code:

_something.html:

<link rel="wappler-include" type="content-page" href="_partialForSomething.html">

But nothing is rendering. Is that supported on BS4 web projects? I’m working on a PWA, and trying to see if I can stick to .html files without needing to render server side (without needing .ejs files).

I also thought perhaps that only loads the partial html and caches it, and I need another element as a target, but can’t find any way to display it, so I’m assuming the link element is replaced with the actual content.

In NodeJS projects you should use partials include indeed.

Will hide the other options as they don’t apply indeed.

Ok, thanks for confirming. :slight_smile:

After more research it seems the best course of action is a hybrid of server side rendering of the static HTML to be cashed in the client side for PWAs via service workers. I’m guessing this is why Wappler seems to work best that way. At least now I have a clear direction. :wink:

Can I pass parameters to partials? I want the partials to be dependent on some parameters in a parent view. Currently I’m thinking of just creating local variables and somehow overriding them in the parent I guess.