Skip to content

JS and CSS Library References

Jannis Rondorf edited this page Jul 1, 2017 · 1 revision

Standard Libraries

Following Standard Libraries can be used and references inside the Info.plist in the following way:

<key>libraries</key>
<array>
	<dict>
		<key>name</key>
		<string>jQuery</string>
	</dict>
</array>
  • jQuery
  • jQuery UI
  • FontAwesome
  • MooTools
  • vue / vuejs

Custom Libraries

S3 supports usage of custom libraries. Example reference:

<dict>
	<key>name</key>
	<string>FitVids</string>
	<key>type</key>
	<string>js</string>
	<key>filename</key>
	<string>jquery.fitvids.min.js</string>
	<key>async</key>
	<false/>
	<key>scope</key>
	<string>page</string>
</dict>

See also https://github.com/yourhead/VelocityDemo.

Clone this wiki locally