mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 09:17:22 +08:00
Add: Vite Electron Builder template
From https://github.com/cawa-93/vite-electron-builder
This commit is contained in:
25
webapp/vetur.config.js
Normal file
25
webapp/vetur.config.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/** @type {import('vls').VeturConfig} */
|
||||
module.exports = {
|
||||
settings: {
|
||||
'vetur.useWorkspaceDependencies': true,
|
||||
'vetur.experimental.templateInterpolationService': true,
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
root: './packages/renderer',
|
||||
tsconfig: './tsconfig.json',
|
||||
snippetFolder: './.vscode/vetur/snippets',
|
||||
globalComponents: [
|
||||
'./src/components/**/*.vue',
|
||||
],
|
||||
},
|
||||
{
|
||||
root: './packages/main',
|
||||
tsconfig: './tsconfig.json',
|
||||
},
|
||||
{
|
||||
root: './packages/preload',
|
||||
tsconfig: './tsconfig.json',
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user