mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-25 03:59:30 +08:00
修改全局变量
This commit is contained in:
10
src/boot/global.js
Normal file
10
src/boot/global.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { boot } from 'quasar/wrappers'
|
||||
import UTOOLS from "../js/utools.js";
|
||||
import programmings from '../js/programs.js';
|
||||
|
||||
// "async" is optional;
|
||||
// more info on params: https://v2.quasar.dev/quasar-cli/boot-files
|
||||
export default boot(async ({ app }) => {
|
||||
app.config.globalProperties.$utools = UTOOLS
|
||||
app.config.globalProperties.$programmings = programmings
|
||||
})
|
||||
Reference in New Issue
Block a user