Answer the question
In order to leave comments, you need to log in
Why after adding CNC links to the yii2 site, all the styles fall off?
Good afternoon everyone, after adding the lines 'baseUrl' => '' to the web folder in the 'request' section, the styles fly off. Why is this happening, I just installed the site and immediately started setting up the CNC, but such nonsense happens ..
These errors are displayed on the site in the code inspector:
GET site/css / site.css
login:9 /bootstrap.css
login:767 GET site/assets/b37ea110/jquery.js
login:768 GET site/assets/49eb65e3/yii.js
login:769 GET site/assets/49eb65e3/yii.validation.js
login:771 GET site /assets/7ed7c1e7/js/bootstrap.js
login:770 GET site/assets/49eb65e3/yii.activeForm.js
login:767 GET site/assets/b37ea110/jquery.js
login:768 GET site/assets/49eb65e3/yii.js
login:769 GET site/assets/49eb65e3 /yii.validation.js
login:770 GET site/assets/49eb65e3/yii.activeForm.js
login:771 GET site/assets/7ed7c1e7/js/bootstrap.js
login:772 Uncaught ReferenceError: jQuery is not defined
at login:772
I set up everything as shown on the website https://toster.ru/q/210872!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question