Table: RailsNotes
User: dreamable
Created at: 2021-01-25 10:33:39 UTC
Updated at: 2021-01-25 10:34:56 UTC
Reference:(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
Tag: