0
문제가 발생했습니다. 내가 사용했을 때 <script src="js/app.js"></script>
과 같은 것들을 말하자면 요소를 검사하고 크롬에서 콘솔로 갔을 때 오류를 반환했지만 atleast는 드롭 다운과 스크립트가 작동했습니다. 내가 다음과 같이 바꿨을 때 :Laravel 4 블레이드 템플릿
{{ HTML::script('http://code.jquery.com/jquery-1.10.2.js') }}
{{ HTML::script('js/bootstrap.min.js') }}
{{ HTML::script('js/prettify.js') }}
{{ HTML::script('js/scripts.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/jquery.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-transition.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-alert.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-modal.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-dropdown.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-scrollspy.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-tab.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-tooltip.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-popover.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-button.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-collapse.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-carousel.js') }}
{{ HTML::script('http://twitter.github.io/bootstrap/assets/js/bootstrap-typeahead.js') }}
그것은 바뀌었다. 요소를 검사 할 때 콘솔 오류가 발생하지 않지만 사이트가 어떤 이유로로드하지 않습니다. 아무도 이것을 경험 한 적이 있습니까? 그래도 문제가 있으면
질문을 조금 더 이해할 수 있습니까? 그 내용이 확실하지 않습니다. –
은'{{HTML :: script ('js/scripts.js')}}'가 바로 여기 또는 안에 오타입니다. 귀하의 코드도 –