Skip to content

Instantly share code, notes, and snippets.

@ru2fac
Last active November 12, 2018 20:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
MinifyX using in MODx Revo
<!--MinifyX call into HEAD and input all scripts and css in the necessary order, otherwise it may not work -->
[[MinifyX?
&minifyCss=`1`
&minifyJs=`1`
&registerJs=`default`
&registerCss=`default`
&jsSources=`
/assets/plugins/jquery/jquery-2.1.4.min.js,
/assets/js/scripts.js,
`
&cssSources=`
/assets/plugins/bootstrap/css/bootstrap.min.css,
/assets/css/essentials.css,
/assets/css/layout.css,
/assets/css/header-1.css,
/assets/css/color_scheme/green.css,
`
]]
[[+MinifyX.css]]
[[+MinifyX.javascript]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment