Looking at the /dev instructions, I feel there may be an error. It looks 
like you'll end up with a directory structure like:

TW/plugins/<your name>/<your plugin>/<your plugin>/

I think when you do the cloning, you should be in the <your name> 
directory, not the <your plugin> directory. Or am I misunderstanding?

Also, you don't need to build the index do you? If you run node, then 
inside your hosted node (e.g. 127.0.0.1:8080) you can just navigate to 
plugins and then export it.

On Friday, February 28, 2020 at 10:17:40 PM UTC-8, Mohammad wrote:
>
> I am preparing a section in The Book by Luis on creating plugins using TW 
> on Node.JS.
> While I did by myself many times but I see the default documentation and 
> the way 
> https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub
>  
> explais
> is confusing for beginners.
>
> I think the procedure should be like this
>
>    1. having install node.js
>    2. having install TW on node.js
>    3. create the plugin folder
>    4. develop the plugin tiddlers (normal tiddlers, macros, styles, 
>    modules, ...)
>    5. pack it
>    6. export and distribute
>
> The procedure SHOULD not rely on other plugins only pure TW distributed 
> officially 
>
> I appreciate if anybody can share a simple to understand procedure or any 
> resources on this.
>
>
> You help much appreciated.
>
> --Mohammad
>
>
> Some references
>
>
>    1. 
>    
> https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub
>    2. 
>    
> https://kookma.github.io/TW-Scripts/#Plugins%20and%20Node.JS%20version%20of%20Tiddlywiki
>    3. 
>    https://kookma.github.io/TW-Scripts/#Installing%20TiddlyWiki%20on%20Node.js
>    4. 
>    
> https://kookma.github.io/TW-Scripts/#TiddlyWikiPluginSkeleton%3A%20Creating%20New%20Plugin
>    5. 
>    
> https://kookma.github.io/TW-Scripts/#Plugins%20and%20Node.JS%20version%20of%20Tiddlywiki
>    6. https://kookma.github.io/TW-Scripts/#How%20to%20Write%20a%20Plugin
>    
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8589d48-d8f5-433d-bb2c-1a746aad28cb%40googlegroups.com.

Reply via email to