Dynamic Attributes and Framework7

Are you using the supplied app.js to initialize Framework7 or your own version?

it should have a specific code to activate app connect on sub pages, see the pageMounted peace below:

var app = new Framework7({
  id: 'io.framework7.testapp',
  root: '#app',
  theme: theme,
  data: function () {
    return {
      user: {
        firstName: 'John',
        lastName: 'Doe',
      },
    };
  },
  on: {
    pageMounted: function (page) {
      if (window.dmx && dmx.app) {
        dmx.app.$parse(page.el);
        dmx.app.$update();
      }
    }
  },
  methods: {
    helloWorld: function () {
      app.dialog.alert('Hello World!');
    },
  },
  routes: window.routes ? window.routes : null,
  vi: {
    placementId: 'pltd4o7ibb9rc653x14',
  },
});```