-
Notifications
You must be signed in to change notification settings - Fork 0
/
USAGE
23 lines (17 loc) · 871 Bytes
/
USAGE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description:
Adds an external CDNJS JavaScript or CSS dependency to the app
Example:
yo cfsg:cdnjs
Enter an optional search query or leave blank to browse the full list of
libraries hosted on CDNJS.
Choose a version. Defaults to the latest version available.
Choose which JavaScript dependency to include. This configures RequireJS
to load the file from CDNJS, and exposes it in the app. A single file is
allowed.
Choose which CSS dependencies to import. The CSS file is linked from CDNJS,
not copied to our local project. This is typically better for client-side
performance and reduces hosting requirements. Multiple CSS files can be
imported.
Note: Shims are not automatically created. If the dependency does not
implement asynchronous module definitions (AMD), add a shim to:
/source/js/loader.js