Commit 20240bbd by zsh

修改子包更新命令

parent e0942c9a
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/", "lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/",
"precommit": "npm run lint-fix", "precommit": "npm run lint-fix",
"init": "git submodule update --init --recursive", "init": "git submodule update --init --recursive",
"update": "cd runner && git pull origin master && git submodule update" "update": "git submodule update --remote"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
......
import mixins from '../mixins'
// Vue插件(Vue plugin) // Vue插件(Vue plugin)
import ContentContainer from 'components/ContentContainer' import ContentContainer from 'components/ContentContainer'
...@@ -10,6 +12,7 @@ const UsePlugin = {} ...@@ -10,6 +12,7 @@ const UsePlugin = {}
* Vue.use(UsePlugin, { global: true }) * Vue.use(UsePlugin, { global: true })
*/ */
UsePlugin.install = function (Vue, options = {}) { UsePlugin.install = function (Vue, options = {}) {
Vue.mixin(mixins)
// 内容容器 // 内容容器
Vue.component('content-container', ContentContainer) Vue.component('content-container', ContentContainer)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment