Comments (4)
I don't remember exactly what I did, I just remember having a lot of trouble.
Basically, if you were to build this plugin, you would have to
- Clone https://github.com/Jermolene/TiddlyWiki5
- Clone
tiddlywiki-remotestorage
to a folder inside the folderplugins/tiddlywiki
- Build it with
npm install
andnpm build
- Add the plugin to one of the "editions" definition (or create your own edition)
- Run one of the CLI commands to build the TiddlyWiki edition, it's something like
./tiddlywiki.js editions/whatever --build index
(tiddlywiki.js
is in the root)
That will give you an HTML file that is a full TiddlyWiki instance with your plugin available.
Please let me know if I can help you with anything else. I'm also on #tiddlywiki on Freenode.
from tiddlywiki-remotestorage.
Considering the error you're seeing, it's because you didn't build the plugin with npm
. But that is out of the scope of TiddlyWiki, it's just the basic thing all JavaScript people do: they use modules from npm as if they were writing Node.js code, then run browserify or something else on them to get a single JavaScript file with all files and dependencies bundled together, then they include that on the HTML.
You don't necessarily need to do that (specially if you're not using any external dependency), but if you want to, take a look at Browserify.
Also, you won't need the remotestorage
package.
from tiddlywiki-remotestorage.
from tiddlywiki-remotestorage.
readonly
is just a variable specific to this plugin. I set it at the following lines:
tiddlywiki-remotestorage/main.js
Lines 19 to 21 in 4e3af06
getClient
is also just a helper function for building the RemoteStorage client. Again, shouldn't be relevant to your implementation.
from tiddlywiki-remotestorage.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiddlywiki-remotestorage.