You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I followed the documentation from botonic website: https://botonic.io/docs/deployment/standalone-js-bundle
My goal is to add a simple chatbot to my spring bot application.
I was able to make it using the guide above. Unfortunately, the route and action is not working.
To Reproduce
Steps to reproduce the behaviour:
Create a simple action and route it from routes.js
What is the expected behaviour?
It should be able to response from the predefined reply from the action.
action/hi.js
import React from 'react'
import { Text } from '@botonic/react'
export default class extends React.Component {
render() {
return (
<Text>
Hello!
</Text>
)
}
}
routes.js
import Hi from './actions/hi'
export const routes = [
{
path: 'hi',
text: 'hi',
action: Hi
},
]
Screenshots
If applicable, add screenshots to help explain your problem.
About the environment
botonic v0.21.0
Other information
If not using stand-alone JS bundle, route and action works.
Please advise
The text was updated successfully, but these errors were encountered:
Describe the bug
I followed the documentation from botonic website: https://botonic.io/docs/deployment/standalone-js-bundle
My goal is to add a simple chatbot to my spring bot application.
I was able to make it using the guide above. Unfortunately, the route and action is not working.
To Reproduce
Steps to reproduce the behaviour:
What is the expected behaviour?
It should be able to response from the predefined reply from the action.
action/hi.js
routes.js
Screenshots
If applicable, add screenshots to help explain your problem.
About the environment
botonic v0.21.0
Other information
If not using stand-alone JS bundle, route and action works.
Please advise
The text was updated successfully, but these errors were encountered: