Mathjax and vue

i have succes to load math formula using mathjax with framework7 v2. by adding this code on index.html

  <script type="text/x-mathjax-config">
    imageFont: null,
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
  <script type="text/javascript" async

**and calling render function on my  app.js**
$$(document).on('page:init', function (e) {
  // Do something here when page loaded and initialized

But the problem is , when i want to use another template with vue.js
i do not know where to place the Mathjax Config code , i tried to place that code on the index.html . But its seem like the code didnt work