“scripts”: {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "set NODE_ENV=development && set BABEL_ENV=development && webpack-dev-server --config webpack.config.dev.js --https false --open http://localhost:3000/index.html --watch",
"https": "set NODE_ENV=development && set BABEL_ENV=development && webpack-dev-server --config webpack.config.dev.js --https true --open https://localhost:3000/index.html --watch"
},
instead of this script in pakage.jason
I want to configure over my interface for side bar having routes paths like as
const ZoomMeeting = React.lazy(() => import(’./views/zoommeeting/index.html’));
const routes = [
{ path: ‘/zoommeeting’, name: ‘Zoom Meeting’, component: ZoomMeeting, exact: true },
{ path: ‘/zoommeeting/index.html’, name: ‘Join Zoom Meeting’, component: ZoomMeeting }
];
export default routes;
kindly guide me how can i do?
This need a loader to upload index.html
I know the loader file webpack.config.dev.js
but how can i do over here?
const routes = [
{ path: ‘/zoommeeting’, name: ‘Zoom Meeting’, component: ZoomMeeting, exact: true },
{ path: ‘/zoommeeting/index.html’, name: ‘Join Zoom Meeting’, component: ZoomMeeting }
];
export default routes;
tommy
(Tommy Gaessler)
September 29, 2020, 4:19pm
3
Hey @shujasahibzada ,
Are you trying to display the Web SDK in a specific component? If so, the best way to do it right now is to hide and show it when you need to like in the Angular sample app:
} else {
console.log(data)
}
}).catch((error) => {
console.log(error)
})
}
startMeeting(signature) {
document.getElementById('zmmtg-root').style.display = 'block'
ZoomMtg.init({
leaveUrl: this.leaveUrl,
isSupportAV: true,
success: (success) => {
console.log(success)
ZoomMtg.join({
signature: signature,
meetingNumber: this.meetingNumber,
Let me know if that helps!
Thanks,
Tommy
system
(system)
Closed
October 30, 2020, 2:19am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.