diff --git a/src/background.ts b/src/background.ts
index e2d0712..3e36280 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -27,7 +27,7 @@ function createWindow() {
win = new BrowserWindow({
width: 350,
height: 520,
- resizable: false,
+ resizable: true,
maximizable: false,
// Postition at launch
@@ -35,7 +35,13 @@ function createWindow() {
y: 10,
webPreferences: {
- devTools: false,
+ devTools: true,
+
+ nodeIntegration:
+ (process.env.ELECTRON_NODE_INTEGRATION as unknown) as boolean,
+
+ preload: path.join(__dirname, "preload.js")
+
}
});
diff --git a/src/components/splash/index.vue b/src/components/splash/index.vue
new file mode 100644
index 0000000..33afe3f
--- /dev/null
+++ b/src/components/splash/index.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/router.ts b/src/router.ts
index 07537f3..bc2a7ed 100644
--- a/src/router.ts
+++ b/src/router.ts
@@ -7,12 +7,19 @@ import {
import Home from "./views/home.vue";
import Login from "./views/login.vue";
+import Splash from "./views/splash.vue";
// Define the routes (/*) for the app here.
const routes: Array = [
{
path: "/",
+ name: "Splash",
+ component: Splash
+ },
+
+ {
+ path: "/home",
name: "Home",
component: Home
},
diff --git a/src/views/splash.vue b/src/views/splash.vue
new file mode 100644
index 0000000..4615508
--- /dev/null
+++ b/src/views/splash.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
\ No newline at end of file