boka-human-cliend-v2 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ <template>
2
+ <div id="app">
3
+ <BokaHumanV2 />
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import BokaHumanV2Raw from '../BokaHumanV2.vue'
9
+ const BokaHumanV2 = BokaHumanV2Raw
10
+
11
+ export default {
12
+ name: 'App',
13
+ components: {
14
+ BokaHumanV2
15
+ }
16
+ }
17
+ </script>
18
+ <style>
19
+ body{
20
+ padding: 0;
21
+ margin: 0;
22
+ }
23
+ #app{
24
+ width: 100vw;
25
+ height: 100vh;
26
+ }
27
+ </style>
@@ -0,0 +1,7 @@
1
+ import Vue from 'vue'
2
+ import App from './App.vue'
3
+
4
+ Vue.config.productionTip = false
5
+ new Vue({
6
+ render: h => h(App)
7
+ }).$mount('#app')
package/vue.config.js CHANGED
@@ -11,7 +11,8 @@ module.exports = {
11
11
  libraryTarget: 'umd',
12
12
  // 让 UMD 构建支持在浏览器和 Node.js 环境中使用
13
13
  umdNamedDefine: true
14
- },
14
+ }
15
+ /*,
15
16
  externals: {
16
17
  // 告诉打包工具 vue 是外部依赖,不打包进去
17
18
  vue: {
@@ -20,7 +21,7 @@ module.exports = {
20
21
  amd: 'vue',
21
22
  root: 'Vue' // 全局变量名
22
23
  }
23
- }
24
+ }*/
24
25
  },
25
26
 
26
27
  chainWebpack: config => {