Replies: 1 comment
-
Ah, just found this one, deleted my other comment. Thank you kindly for the information! This is really useful. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I just wanted to share how I managed to integrate CLOG into an already existing website that used Ningle + CLACK.
But this would work for any HTTP server.
For context all of my webpages are generated using Spinneret (HTML5) + LASS (CSS).
To integrate into CLOG I had to do the following:
Start CLACK (for my original website) on port N1
Start CLOG on port N2
With Ningle create 2 routes one that returns a custom version of
boot.js
@ /js/boot.jsand the other returns
jquery.min.js
@ /js/jquery.min.jsI modified line 93 of
boot.js
to beFinally I add my #'clog:initialize
And add the scripts to the pages I want to integrate into CLOG.
I am pointing this out because the tutorial that exists as an example of integrating into an existing project is ridiculous and using static .html files.
It would be nice if the /js/boot.js was written using Parenscript.
If I come up with a better solution I'll share it.
Beta Was this translation helpful? Give feedback.
All reactions