You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
trying to implement SKIM in my rails 6 project. Can't figure out, where should I put .jst.skim files or how correctly render them.
Tried to create javascript/templates folder and store files there, calling them with JST["templates/file"]({data: data}), but caught ReferenceError: JST is not defined.
Requiring them form application.js like require "templates/file" or require "templates/file.jst.skim" also failed.
Are there any settled sollution for rails 6?
The text was updated successfully, but these errors were encountered:
Hi,
trying to implement SKIM in my rails 6 project. Can't figure out, where should I put .jst.skim files or how correctly render them.
Tried to create javascript/templates folder and store files there, calling them with
JST["templates/file"]({data: data})
, but caught ReferenceError: JST is not defined.Requiring them form application.js like
require "templates/file"
orrequire "templates/file.jst.skim"
also failed.Are there any settled sollution for rails 6?
The text was updated successfully, but these errors were encountered: