vue-design-core
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -8,2 +8,2 @@ import { componentCache } from './utils/requireContext'; | ||
}); | ||
}; | ||
} |
@@ -6,3 +6,3 @@ import { configCache } from './utils/requireContext'; | ||
return getConfig(configCache, fileName); | ||
}; | ||
} | ||
@@ -9,0 +9,0 @@ export function configs(fileNames) { |
import cookies from 'js-cookie'; | ||
const install = (Vue, options = {}) => { | ||
const install = (Vue) => { | ||
Vue.cookies = cookies; | ||
@@ -5,0 +5,0 @@ Vue.prototype.$cookies = cookies; |
@@ -12,2 +12,4 @@ import Router from 'vue-router'; | ||
console.log('rootRoutes', rootRoutes, config('routes.js'), config('globals.js')); | ||
Vue.use(Router); | ||
@@ -14,0 +16,0 @@ |
@@ -17,2 +17,4 @@ import { getConfig } from './index'; | ||
console.log('configCache', configCache, configContext.keys()); | ||
const getGolbals = (defaultModuleRouter) => { | ||
@@ -100,2 +102,4 @@ const golbalsConfig = getConfig(configCache, 'golbals.js'); | ||
console.log('configCache', configCache); | ||
export { | ||
@@ -102,0 +106,0 @@ rootRoutes, |
export default function to(promise) { | ||
return promise.then(data => [null, data]) | ||
.catch(err => [err]); | ||
}; | ||
} |
@@ -25,3 +25,2 @@ import { vendorCache } from './utils/requireContext'; | ||
break; | ||
default: {} | ||
} | ||
@@ -28,0 +27,0 @@ }); |
{ | ||
"name": "vue-design-core", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "", | ||
@@ -12,8 +12,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"axios": "^0.19.2", | ||
"normalize.css": "^8.0.1", | ||
"vue": "^2.6.11", | ||
"vue-router": "^3.1.3", | ||
"vuex": "^3.1.2" | ||
"vue-router": "^3.1.6", | ||
"vuex": "^3.1.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13599
414
Updatedaxios@^0.19.2
Updatedvue-router@^3.1.6
Updatedvuex@^3.1.3