Changes for page How to integrate any JavaScript library or component in XWiki?
Last modified by Oana Florea on 2019/09/13
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- FAQCode.FAQClass[0]
-
- answer
-
... ... @@ -1,4 +1,4 @@ 1 -You can integrate any JavaScript library / component in XWiki. There are multiple ways to do this, see [[ https:~~/~~/www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/IntegratingJavaScriptLibraries/>>Documentation.DevGuide.FrontendResources.IntegratingJavaScriptLibraries.WebHome]]1 +You can integrate any JavaScript library / component in XWiki. There are multiple ways to do this, see [[Documentation.DevGuide.FrontendResources.IntegratingJavaScriptLibraries.WebHome]]. The recommended way is to: 2 2 3 3 * install the third party JavaScript as a WebJar using XWiki's Extension Manager 4 4 * load the JavaScript using RequireJS ... ... @@ -7,6 +7,7 @@ 7 7 8 8 RequireJS implements the AMD (Asynchronous Module Definition) API so the easiest for XWiki is to integrate JavaScript libraries that support AMD. This is the case for instance with React (https://reactjs.org/). 9 9 10 -{{info}} 11 - Thanks to [[xwiki:XWiki.mflorea]] for contributing this faq. 12 -{{/info}} 10 +Here are some examples: 11 +* How to integrate React and XWiki:[[FAQ.How to integrate React and XWiki]] 12 +* How to integrate Webpack and XWiki: [[FAQ.How to integrate Webpack\.js and XWiki]] 13 +