⚗️ Implement bot v2 MVP (#194)

Closes #190
This commit is contained in:
Baptiste Arnaud
2022-12-22 17:02:34 +01:00
committed by GitHub
parent e55823e011
commit 1a3869ae6d
202 changed files with 8060 additions and 1152 deletions

View File

@@ -0,0 +1,11 @@
import { Bot } from '@/components/Bot'
import type { Component } from 'solid-js'
export const App: Component = () => {
return (
<Bot
typebotId="clbm11cku000t3b6o01ug8awh"
apiHost="http://localhost:3001"
/>
)
}

View File

@@ -0,0 +1,5 @@
import { render } from 'solid-js/web'
import { App } from './App'
import '../assets/index.css'
render(() => <App />, document.getElementById('root') as HTMLElement)