yuri thank for you reply,
Example, I want to use google tag manager script then I need embed it after <body> tag. So how to do it?
Announcement
Collapse
No announcement yet.
How to init js lib at app start
Collapse
X
-
If you configured it correctly in jsLibs, you require it it the script.
PHP Code:require('your-lib-name', MyLib => {
});
Leave a comment:
-
It depends on what module format the lib is available. The most simple way is just include the file:
Leave a comment:
-
How to init js lib at app start
Sometime, we use js lib and we need init it at app start, how to implement?Tags: None
Leave a comment: