Skip to content

Commit

Permalink
fix: debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyongming committed Jul 25, 2024
1 parent ff1c765 commit 7d5ce97
Show file tree
Hide file tree
Showing 10 changed files with 26,169 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
// remote debug server address
remote: {
protocol: 'http',
host: '192.168.80.11',
host: '127.0.0.1',
port: 38989,
},
// support inspect react components, store and router, by default is disabled
Expand Down
9 changes: 4 additions & 5 deletions driver/js/examples/hippy-react-demo/src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import React, { Component } from 'react';
import {
ConsoleModule,
} from '@hippy/react';
import HomeEntry from './pages/entry';
import ContainerView from './shared/ContainerView';
import { View, Text } from '@hippy/react';

export default class App extends Component {
componentDidMount() {
Expand All @@ -12,9 +11,9 @@ export default class App extends Component {

render() {
return (
<ContainerView>
<HomeEntry />
</ContainerView>
<View style={{ backgroundColor: '#f0f0f0f0', flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text style={{ fontSize: 24, color: '#0f0f0f' }}>Hello World!</Text>
</View>
);
}
}
Loading

0 comments on commit 7d5ce97

Please sign in to comment.