@ldesign/desktop-public-next 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/es/App.d.ts +1 -1
- package/es/App.js +2 -1
- package/es/index.js +2 -0
- package/package.json +3 -2
package/es/App.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { AppConfig } from '@ldesign/business-next/lib/config';
|
2
|
-
import { LeapConfigType } from '@ldesign/base';
|
2
|
+
import type { LeapConfigType } from '@ldesign/base';
|
3
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
4
4
|
leapConfig: import("vue").ComputedRef<LeapConfigType>;
|
5
5
|
appConfig: import("vue").ComputedRef<AppConfig>;
|
package/es/App.js
CHANGED
@@ -10,9 +10,10 @@ function __$styleInject(css) {
|
|
10
10
|
return css;
|
11
11
|
}
|
12
12
|
|
13
|
-
import { useConfigStore
|
13
|
+
import { useConfigStore } from '@ldesign/business-next';
|
14
14
|
import { ConfigProvider } from '@ldesign/desktop-next';
|
15
15
|
import { defineComponent, inject, computed, Transition, KeepAlive } from 'vue';
|
16
|
+
import { RouterView } from 'vue-router';
|
16
17
|
|
17
18
|
var App = defineComponent({
|
18
19
|
name: 'App',
|
package/es/index.js
CHANGED
@@ -16,6 +16,7 @@ import LDesignProfession from '@ldesign/desktop-profession-next';
|
|
16
16
|
import { LeapRouter, LeapApi, LeapConfig, pinia } from '@ldesign/business-next';
|
17
17
|
import App from './App.js';
|
18
18
|
export { default as Login } from './public/Login.js';
|
19
|
+
import 'vue-router';
|
19
20
|
import '@babel/runtime/helpers/defineProperty';
|
20
21
|
import '@babel/runtime/helpers/asyncToGenerator';
|
21
22
|
import '@babel/runtime/regenerator';
|
@@ -25,6 +26,7 @@ __$styleInject("html,\nbody {\n height: 100%;\n margin: 0;\n}\n#app {\n heigh
|
|
25
26
|
function createLeapApp(options) {
|
26
27
|
var env = options.env,
|
27
28
|
files = options.files;
|
29
|
+
console.log(env, files);
|
28
30
|
/** 通用路由配置 */
|
29
31
|
var $router = new LeapRouter({
|
30
32
|
env: env,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ldesign/desktop-public-next",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.6",
|
4
4
|
"description": "",
|
5
5
|
"main": "es/index.js",
|
6
6
|
"publishConfig": {
|
@@ -18,7 +18,8 @@
|
|
18
18
|
"@ldesign/icons-vue-next": "latest",
|
19
19
|
"@ldesign/base": "latest",
|
20
20
|
"@ldesign/request": "latest",
|
21
|
-
"@ldesign/business-next": "latest"
|
21
|
+
"@ldesign/business-next": "latest",
|
22
|
+
"vue-router": "^4.1.6"
|
22
23
|
},
|
23
24
|
"devDependencies": {
|
24
25
|
"@vue/compiler-sfc": "^3.2.47",
|