Last modified by Oana Florea on 2019/09/13

From version 3.1
edited by Oana Florea
on 2019/09/13
Change comment: There is no comment for this version
To version 2.1
edited by Camelia Andrei
on 2019/09/10
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.OanaTabaranu
1 +XWiki.candrei
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 [[Documentation.DevGuide.FrontendResources.IntegratingJavaScriptLibraries.WebHome]]. The recommended way is to:
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]] . 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
... ... @@ -8,6 +8,10 @@
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 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]]
11 +* How to integrate React and XWiki: http://www.jria.xwiki.org/xwiki/bin/view/FAQ/How%20to%20integrate%20React%20and%20XWiki
12 +* How to integrate Webpack and XWiki: http://www.jria.xwiki.org/xwiki/bin/view/FAQ/How%20to%20integrate%20Webpack.js%20and%20XWiki
13 13  
14 +
15 +{{info}}
16 + Thanks to [[xwiki:XWiki.mflorea]] for contributing this faq.
17 +{{/info}}

Get Connected