Project Docs Github
Log in
ittf site docs concepts t wizziplugins local.html.ittf Edit
  • /ittf/site/docs/concepts/t/wizziplugins/local.html.ittf
  • /ittf/site/docs/concepts/t/section.html.ittf
  • /ittf/site/docs/t/high-code.html.ittf

/ittf/site/docs/concepts/t/wizziplugins/local.html.ittf (primary)

edit
                                            
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 ...

/ittf/site/docs/concepts/t/section.html.ittf

edit
                                            
1 $group
2 $params §
3 article
4 . doc-title
5 id ${sect.id}
6 + ${sect.title}
7 . doc-summary
8 $hook

/ittf/site/docs/t/high-code.html.ittf

edit
                                            
1 $group
2 $params text, kind|@@null
3 $if kind != 'nospace'
4 span ${} ${}
5 code
6 class highlight-code
7 + ${text}
8 $if kind != 'nospace'
9 span ${} ${}
Save
Save & Refresh
Cancel