Skip to main content
edited tags; removed tags from title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 8: Core js areJavaScript is not included in all pages

I'm developing a theme in drupalDrupal 8. This is my theme.libraireslibraries.yml file:

default:
 version: 1.x
 css:
  theme:
   css/bootstrap.css: {}
   css/style.css: {}
   css/font-awesome.min.css: {}
   css/animate.min.css: {}
 js:
    js/galip.js: {}

When i triedI try to view the source of the front page page, I have core jssee the JavaScript files like ready.min.js. jquery.min.js, jquery.once.min.js but i tried to view sourcewhich I don't see in the login page and also some other pages, those core js files are not included.

Why this is this happening? how toHow do I include the core jsJavaScript files intoin all pages in drupal8?

Drupal 8: Core js are not included in all pages

I'm developing theme in drupal 8. This is my theme.libraires.yml file:

default:
 version: 1.x
 css:
  theme:
   css/bootstrap.css: {}
   css/style.css: {}
   css/font-awesome.min.css: {}
   css/animate.min.css: {}
 js:
    js/galip.js: {}

When i tried to view source the front page page, I have core js files like ready.min.js. jquery.min.js, jquery.once.min.js but i tried to view source the login page and also some other pages, those core js files are not included.

Why this is happening? how to include core js files into all pages in drupal8?

Core JavaScript is not included in all pages

I'm developing a theme in Drupal 8. This is my theme.libraries.yml file:

default:
 version: 1.x
 css:
  theme:
   css/bootstrap.css: {}
   css/style.css: {}
   css/font-awesome.min.css: {}
   css/animate.min.css: {}
 js:
    js/galip.js: {}

When I try to view the source of the front page page, I see the JavaScript files like ready.min.js. jquery.min.js, jquery.once.min.js which I don't see in the login page and other pages.

Why is this happening? How do I include the core JavaScript files in all pages?

Source Link
Guru
  • 599
  • 2
  • 11
  • 21

Drupal 8: Core js are not included in all pages

I'm developing theme in drupal 8. This is my theme.libraires.yml file:

default:
 version: 1.x
 css:
  theme:
   css/bootstrap.css: {}
   css/style.css: {}
   css/font-awesome.min.css: {}
   css/animate.min.css: {}
 js:
    js/galip.js: {}

When i tried to view source the front page page, I have core js files like ready.min.js. jquery.min.js, jquery.once.min.js but i tried to view source the login page and also some other pages, those core js files are not included.

Why this is happening? how to include core js files into all pages in drupal8?