Skip to content

embedding browser-side JavaScript #126

Answered by LiveDuo
xu4wang asked this question in Q&A
Discussion options

You must be logged in to vote

I'm slightly surprised no one has asked this before as the main goal of this project is to have a visual editor but allow customizability like a normal Next.js project.

There are two options:
a) In the Next.js page that you loaded Destack, you can use a useEffect or another React component to load javascript.
b) Edit the html trunk and add the javascript there

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@LiveDuo
Comment options

@xu4wang
Comment options

@LiveDuo
Comment options

@xu4wang
Comment options

Answer selected by xu4wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants