表单: RailsNotes
用户: dreamable
创建日期: 2021-01-25 10:33:39 UTC
更新日期: 2021-01-25 10:34:56 UTC
引用:(Table ID 3, Record ID 16)

标题 :
javascript_include_tag vs javascript_pack_tag
笔记 :
  • javascript_include_tag: for app/assets
<script src="https://localhost/assets/xmlhr.debug-1284139606.js"></script>
  • javascript_pack_tag: for webpacker
<script src="/packs/js/application-be5eb61178f8249f882f.js" data-turbolinks-track="reload"></script>
  • similar for stylesheet
  • html
标签: