hyapp-template
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "hyapp-template", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "mvvm", | ||
@@ -21,2 +21,3 @@ "author": "yangbin <yangb@2345.com>", | ||
"autoprefixer": "^7.1.2", | ||
"axios": "^0.18.0", | ||
"babel-core": "^6.22.1", | ||
@@ -53,2 +54,4 @@ "babel-eslint": "^8.2.1", | ||
"html-webpack-plugin": "^2.30.1", | ||
"hyapp-ui": "^1.0.2", | ||
"hyapp-utils": "^1.0.8", | ||
"jest": "^22.0.4", | ||
@@ -77,5 +80,3 @@ "jest-serializer-vue": "^0.3.0", | ||
"webpack-dev-server": "^2.9.1", | ||
"webpack-merge": "^4.1.0", | ||
"hyapp-utils": "^1.0.0", | ||
"hyapp-ui": "^1.0.0" | ||
"webpack-merge": "^4.1.0" | ||
}, | ||
@@ -82,0 +83,0 @@ "engines": { |
@@ -6,3 +6,12 @@ // The Vue build version to load with the `import` command | ||
import router from './router' | ||
import hyappUI from 'hyapp-ui' | ||
import hyapp from 'hyapp-utils' | ||
import getBaseUrl from './api/env' | ||
// 工具类方法 | ||
Vue.use(hyapp.Tools) | ||
let Http = new hyapp.Utils({baseurl: getBaseUrl()}) | ||
Vue.use(Http) | ||
Vue.use(hyappUI) | ||
Vue.config.productionTip = false | ||
@@ -9,0 +18,0 @@ |
import Vue from 'vue' | ||
import Router from 'vue-router' | ||
import HelloWorld from '@/components/HelloWorld' | ||
import HelloWorld from '@/pages/HelloWorld' | ||
@@ -5,0 +5,0 @@ Vue.use(Router) |
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
48271
40
962
59
16