feat: update project configuration and enhance project manager functionality
This commit is contained in:
14
src/remote.ts
Normal file
14
src/remote.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { app, manager } from './index'
|
||||
import { RemoteApp } from '@kevisual/remote-app'
|
||||
|
||||
app.createRouteList()
|
||||
const remote = new RemoteApp({
|
||||
app,
|
||||
id: 'project-search',
|
||||
username: 'root'
|
||||
});
|
||||
const isConnect = await remote.isConnect();
|
||||
if (isConnect) {
|
||||
console.log('Remote app connected successfully', isConnect);
|
||||
remote.listenProxy();
|
||||
}
|
||||
Reference in New Issue
Block a user