Main menu

В 8 встроена 3 версия jquery, нифига не совместим с jquery_mobile, да и вообще в верстке обычно уже подключена своя версия. Хотя конечно отключая встроенный можем нарваться на разные проблемы. Проверяйте сразу например переход между страницами

Для отключения прописываем в файлах темы

Add your custom jQuery library in your mytheme.libraries.yml:

jquery-custom:
  remote: https://github.com/jquery/jquery
  version: "2.2.4"
  license:
    name: MIT
    url: https://github.com/jquery/jquery/blob/2.2.4/LICENSE.txt
    gpl-compatible: true
  js:
    js/jquery-2.2.4.min.js: { minified: true, weight: -20 }
Then override the core jQuery library in your mytheme.info.yml:

libraries-override:
  # Replace an entire library.
  core/jquery: mytheme/jquery-custom