Make RMO and Sync run in parallel and use the same sources
This commit is contained in:
parent
d7d6888f63
commit
b919472f42
7 changed files with 13 additions and 14 deletions
|
|
@ -26,8 +26,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "vue-tsc && vite build",
|
||||
"dev-rmo": "vite --config vite/rmo.ts",
|
||||
"dev-sync": "vite --config vite/sync.ts",
|
||||
"dev-rmo": "vite serve vite/rmo",
|
||||
"dev-sync": "vite serve vite/sync",
|
||||
"generate-icons": "node generate-icons.js",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"typecheck:watch": "vue-tsc --noEmit --watch"
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" href="/static/ico/favicon-sync.ico" type="image/x-icon" />
|
||||
<title>Nidus Sync</title>
|
||||
<title>Report Mosquitoes Online</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/ts/main-rmo.ts"></script>
|
||||
<script type="module" src="main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import { createApp } from "vue";
|
||||
import { createHead } from "@vueuse/head";
|
||||
import App from "./AppRMO.vue";
|
||||
import App from "@/AppRMO.vue";
|
||||
|
||||
const app = createApp(App);
|
||||
const head = createHead();
|
||||
|
|
@ -13,7 +13,7 @@ export default defineConfig({
|
|||
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "../ts"),
|
||||
"@": path.resolve(__dirname, "../../ts"),
|
||||
},
|
||||
},
|
||||
|
||||
|
|
@ -8,6 +8,6 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/ts/main-rmo.ts"></script>
|
||||
<script type="module" src="main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,17 +1,16 @@
|
|||
import { createApp } from "vue";
|
||||
import { createPinia } from "pinia";
|
||||
import App from "./App.vue";
|
||||
import router from "./router";
|
||||
import { SSEManager, type SSEMessage } from "./SSEManager";
|
||||
//import { SetupSidebar } from "./sidebar";
|
||||
import App from "@/AppSync.vue";
|
||||
import router from "@/router";
|
||||
import { SSEManager, type SSEMessage } from "@/SSEManager";
|
||||
import "maplibre-gl/dist/maplibre-gl.css";
|
||||
|
||||
// Import Bootstrap Icons CSS
|
||||
import "bootstrap-icons/font/bootstrap-icons.css";
|
||||
// Import Bootstrap SCSS
|
||||
import "./style/style.scss";
|
||||
import "@/style/style.scss";
|
||||
// Import custom icons
|
||||
import "./gen/custom-icons.scss";
|
||||
import "@/gen/custom-icons.scss";
|
||||
|
||||
// Import Bootstrap JavaScript and make it available globally
|
||||
import * as bootstrap from "bootstrap";
|
||||
|
|
@ -13,7 +13,7 @@ export default defineConfig({
|
|||
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "../ts"),
|
||||
"@": path.resolve(__dirname, "../../ts"),
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue