Where to put <meta name:="ac:route">?

From a while ago I seem to remember it can cause issues if this line (on content page, nodejs) is not at the very top of the page, right underneath the <!-- Wappler include... :
<meta name="ac:route" content="/checkout-ordersapi">

However, by using the UI, it keeps getting pushed down. For example I just made a new content page and added:

  1. The stripe component
  2. The toast component

The code is:
image

So in this case the toast component is above the meta tag.

This happens all the time on many pages.
I keep manually moving it up, but is it necessary?

Haven’t found that to be necessary. But for sanity, it should be up top.
Try adding things from the UI below the first component, instead the root app node maybe?

I have been running into a problem with pages not rendering – showing this code in the browser when I look at view source.

I have noticed that editing the source and making the changes like mentioned here have seemingly fixed my “problem” but I didn’t know why. Thanks for making this post; I’ll watch it with interest to see if this is the overall problem I’m facing or just one part of it.

1 Like

Yeah I think that works, but still I’m moving things up then. So not an ideal thing to happen in the first place. However this is a bit easier to work with so thanks :slight_smile: