This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { app, BrowserWindow } from 'electron' | |
import path from 'path' | |
const createWindow = () => { | |
const win = new BrowserWindow({ | |
webPreferences: { | |
preload: path.join(__dirname, 'preload.js'), | |
}, | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineConfig } from 'electron-vite' | |
import { resolve } from 'path' | |
export default defineConfig({ | |
main: { | |
build: { | |
rollupOptions: { | |
input: { | |
index: resolve(__dirname, 'electron/main/index.ts') | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="container"></div> | |
<div class="area-card"> | |
<el-tabs v-model="activeName" type="card" class="demo-tabs"> | |
<el-tab-pane label="可视化" name="view"> | |
<div class="flex flex-wrap flex-col justify-center items-center"> | |
<UploadGeojsonModal | |
@after-load=" | |
(raw) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Bootstrap v3.3.7 (http://getbootstrap.com) | |
* Copyright 2011-2016 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/ | |
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ | |
html { | |
font-family: sans-serif; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; |