We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d42034 commit 03c9f0fCopy full SHA for 03c9f0f
README.md
@@ -53,6 +53,13 @@ en:
53
<%= SnFilterable.load_js %>
54
```
55
56
+If your application does not allow for use of `.js.erb` files the JavaScript can be loaded by adding the following to your layout:
57
+```javascript
58
+<%= javascript_tag nonce: true do %>
59
+ <%= SnFilterable.load_js.html_safe %>
60
+<% end %>
61
+```
62
+
63
3. Configure your app's Tailwind to scan the gem
64
```javascript
65
// tailwind.config.js
0 commit comments