Sign in

invoke a script

  • This topic has 1 reply, 2 voices, and was last updated 2 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5039
    Avatar photominiyo

    Hello,
    at render time, could you invoke a nodejs script?
    I’m looking at computed-options, but I don’t know if that’s what I’m looking for.
    I don’t need to capture anything from the editor, it’s a non-publii script.
    Thank you.

    #5041
    Avatar photoTomasz Dziuda

    Hi,

    In theory it should work, because computed-options.js file is loaded like a node module. But I did not tested such case.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.