mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-26 18:58:21 +02:00
Started bridge between backend and frontend
This commit is contained in:
parent
056c0dbab7
commit
d35bd7906b
@ -1,3 +1,5 @@
|
||||
require('app-module-path').addPath(__dirname);
|
||||
|
||||
const { BaseApplication } = require('lib/BaseApplication');
|
||||
const { FoldersScreenUtils } = require('lib/folders-screen-utils.js');
|
||||
const { Setting } = require('lib/models/setting.js');
|
||||
|
2
ElectronClient/app/html-app.js
Normal file
2
ElectronClient/app/html-app.js
Normal file
@ -0,0 +1,2 @@
|
||||
require('app-module-path').addPath(__dirname);
|
||||
const app = require('./app.js').app;
|
@ -3,11 +3,15 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Hello World!</title>
|
||||
<script src="app.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello World!</h1>
|
||||
We are using node <script>document.write(process.versions.node)</script>,
|
||||
Chrome <script>document.write(process.versions.chrome)</script>,
|
||||
and Electron <script>document.write(process.versions.electron)</script>.
|
||||
<script>
|
||||
//console.info(initApp);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user