Add External CDN Of JS & CSS¶
UI Maker is deprecated
UI Maker is kept for the projects which use it and will be removed in API Maker v4. New admin screens are better built with any frontend framework on top of the generated APIs.
👉 You can add external CSS & JS CDN using below method.
👉 All your code will run after that.
export interface IDBMasterConfig {
externalLibs: {
js: [
// lodash JS CDN
'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js',
// moment JS CDN
'https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js'
],
css: [
// animate CSS CDN
'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'
]
};
}
Inbuilt CSS Libraries¶
Bootstrap Grid 5.3.3
Bootstrap Utilities 5.3.3
Inbuilt JS Libraries¶
👉 Below JS libraries are inbuilt and you can also use them in your custom code.
👉 You can use their global objects.
Papa Parse
- Global object name : Papa
Date-fns Date Utility
- Global object name : dateFns
Date-fns Timezone Utility
- Global object name : dateFnsTz
