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 7821edf commit fc87b28Copy full SHA for fc87b28
README.md
@@ -25,15 +25,23 @@ Pass a path to your file from the public directory to `inline_assets` tag.
25
26
```twig
27
<style>
28
-{{ inline_assets src="css/site.css" }}
+{{ inline_assets:css src="css/site.css" }}
29
</style>
30
```
31
32
or
33
34
35
<script>
36
-{{ inline_assets src="js/site.js" }}
+{{ inline_assets:js src="js/site.js" }}
37
+</script>
38
+```
39
+
40
+You can also minify your js or css assets.
41
42
+```twig
43
+<script>
44
+{{ inline_assets:js minify="true" src="js/site.js" }}
45
</script>
46
47
0 commit comments