1 $group
2 $
3 var sect = {
4 title: 'Local plugins',
5 id: 'localplugins'
6 };
7 section( §)
8 p Local plugins can be located anywhere on the user drive and the plugin folder path is declared to the Wizzi factory
9 \b instead of the plugin name.
10 p The
11 high-code( package.json )
12 span file is not required. The plugin interface must be exposed in the
13 high-code( index.js )
14 span file located in the plugin folder.
15 ittf-panel
16 title Sample Wizzi factory instantiation with local plugins
17 ittf
18 ...
19 _ wizzi.fsFactory
20 { plugins
21 [ items
22 @ './packages/wizzi-core/index.js'
23 @ './packages/wizzi-js/index.js'
24 @ './packages/wizzi-web/index.js'
25 @ pluginsBaseFolder
26 _ path.resolve
27 @ __dirname
28 @ '..'
29 @ '..'
30 @ '..'
31 @ globalContext: globalContext || {}
32 =>
33 param err
34 param wizziFactory
35 if err
36 throw ...
37 _ wizziFactory.loadModelAndGenerateArtifact
38 ...