mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 17:06:23 +00:00
feat(electron): improve development tools
This commit is contained in:
30
resources/dev.html
Normal file
30
resources/dev.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Electron Development Entries</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="padding: 50px; text-align: center;">
|
||||
<h1>
|
||||
Development Mode :)
|
||||
</h1>
|
||||
<h3>
|
||||
<a href="http://localhost:3000">
|
||||
http://localhost:3000
|
||||
</a> <br> <br>
|
||||
<a href="http://localhost:3001">
|
||||
http://localhost:3001
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<script>
|
||||
require('electron').ipcRenderer.on('hello', (e, v) => {
|
||||
console.info('[hello] ', v)
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user