<div dir="ltr">Based on the path given in the setup guide, you should copy the example you want to reproduce inside ${ROOT}/src/* where the main example file should be named index.js.<div><br></div><div>Then you should be able to build your example using the npm command: "npm run build".</div><div><br></div><div>Maybe the vtk.js explanation might be easier to follow (<a href="https://kitware.github.io/vtk-js/docs/intro_vtk_as_es6_dependency.html" target="_blank">https://kitware.github.io/<wbr>vtk-js/docs/intro_vtk_as_es6_<wbr>dependency.html</a>), but the concept is exactly the same.</div><div>As it is picking the example available here <a href="https://kitware.github.io/vtk-js/examples/Cone.html">https://kitware.github.io/vtk-js/examples/Cone.html</a> | <a href="https://github.com/Kitware/vtk-js/tree/master/Examples/WebGL/Cone">https://github.com/Kitware/vtk-js/tree/master/Examples/WebGL/Cone</a></div><div>and making a standalone application from it.</div><div><br></div><div>Just be aware that vtk.js is using webpack2 which is not the case for ParaViewWeb.<br><div><br></div></div><div class="gmail_extra">Hope that helps,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Seb</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jul 24, 2017 at 1:28 PM, Léo Pessanha <span dir="ltr"><<a href="mailto:leonardopessanha74@gmail.com" target="_blank">leonardopessanha74@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi!<br><br></div>I would like to know the steps in order to run simple example like the following one:<br><br><a href="https://kitware.github.io/paraviewweb/examples/Composite/index.html" target="_blank">https://kitware.github.io/para<wbr>viewweb/examples/Composite/<wbr>index.html</a><br><br></div>It doesn't need to be a really elaborated tutorial, but a simple one with the main things.<br></div>I have little to no background in web development.<br><br></div>What I managed to do so far was to create my own project and add paraviewweb to it like its described in <a href="https://kitware.github.io/paraviewweb/docs/setup.html" target="_blank">https://kitware.github.io/para<wbr>viewweb/docs/setup.html</a> .<br><br><div><div>I don't know what to do next but I believe that a great start would be to know where to put the source code in the example and how to run it.<br><br></div><div>Thanks in advance,<br><div><div><div><br clear="all"><div><div><div class="gmail-m_-7680522396730333179m_-3082878416913511041gmail_signature"><div dir="ltr"><div dir="ltr"><div><div><div><div><div><span><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Leonardo Pessanha<br>Laboratory of Computational Methods in Engineering </div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Federal University of Rio de Janeiro - COPPE</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Rio de Janeiro, RJ, Brasil</div><div><br></div></span></div></div></div></div></div></div><div><div style="font-size:12.8px"></div><div style="font-size:12.8px"></div></div></div></div></div>
</div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 24, 2017 at 1:28 PM, Léo Pessanha <span dir="ltr"><<a href="mailto:leonardopessanha74@gmail.com" target="_blank">leonardopessanha74@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi!<br><br></div>I would like to know the steps in order to run simple example like the following one:<br><br><a href="https://kitware.github.io/paraviewweb/examples/Composite/index.html" target="_blank">https://kitware.github.io/<wbr>paraviewweb/examples/<wbr>Composite/index.html</a><br><br></div>It doesn't need to be a really elaborated tutorial, but a simple one with the main things.<br></div>I have little to no background in web development.<br><br></div>What I managed to do so far was to create my own project and add paraviewweb to it like its described in <a href="https://kitware.github.io/paraviewweb/docs/setup.html" target="_blank">https://kitware.github.io/<wbr>paraviewweb/docs/setup.html</a> .<br><br><div><div>I don't know what to do next but I believe that a great start would be to know where to put the source code in the example and how to run it.<br><br></div><div>Thanks in advance,<br><div><div><div><br clear="all"><div><div><div class="m_-724854798503458129gmail_signature"><div dir="ltr"><div dir="ltr"><div><div><div><div><div><span><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Leonardo Pessanha<br>Laboratory of Computational Methods in Engineering </div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Federal University of Rio de Janeiro - COPPE</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Rio de Janeiro, RJ, Brasil</div><div><br></div></span></div></div></div></div></div></div><div><div style="font-size:12.8px"></div><div style="font-size:12.8px"></div></div></div></div></div>
</div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>