Jermolene / TiddlyWiki5DemoApp

An example node.js application that incorporates TiddlyWiki5 as a library
11 stars 1 forks source link

Improve reference to TiddlyWiki core code #2

Open danielo515 opened 9 years ago

danielo515 commented 9 years ago

Hello,

I know this is just a small experiment, but I think it depends too much of being in a sibling folder of tiddlywiky. It would be nice to specify that you have to change the path of tiddlywiky or maybe use the installed tiddlywiky module under node.

Regards

Jermolene commented 9 years ago

I think maybe the clearest thing would be if this app used npm install to install TiddlyWiki into the node_modules folder. Then the code could just require("tiddlywiki"). Would that do it?

danielo515 commented 9 years ago

That it's exactly what I was thinking about after opening this issue. Thank you for pointing it out better than I did. That's how node packages are used normally. So, yes, I agree.