mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-04-07 04:00:12 +08:00
fix(🐞): vue-tsc error
This commit is contained in:
parent
e9ba2ecace
commit
00c288bbe7
@ -28,7 +28,7 @@ export const ROOT_PATH = {
|
||||
let win: BrowserWindow | null = null
|
||||
// Here, you can also use other preload
|
||||
const preload = join(__dirname, '../preload/index.js')
|
||||
const url = process.env.VITE_DEV_SERVER_URL
|
||||
const url = process.env.VITE_DEV_SERVER_URL as string
|
||||
const indexHtml = join(ROOT_PATH.dist, 'index.html')
|
||||
|
||||
async function createWindow() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user