🧑💻 Better Typebot import in vanilla JS sites
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
import { registerWebComponents } from './register'
|
||||
import { injectTypebotInWindow } from './window'
|
||||
import { parseTypebot, injectTypebotInWindow } from './window'
|
||||
|
||||
registerWebComponents()
|
||||
injectTypebotInWindow()
|
||||
|
||||
const typebot = parseTypebot()
|
||||
|
||||
injectTypebotInWindow(typebot)
|
||||
|
||||
export default typebot
|
||||
|
Reference in New Issue
Block a user