@abi-software/gallery 0.2.1-beta-3 → 0.2.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/gallery",
3
- "version": "0.2.1-beta-3",
3
+ "version": "0.2.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/hsorby/mapcore-gallery.git"
@@ -13,7 +13,7 @@
13
13
  "serve": "vue-cli-service serve",
14
14
  "build": "vue-cli-service build",
15
15
  "test:unit": "vue-cli-service test:unit",
16
- "build-bundle": "vue-cli-service build --target lib --name gallery src/main.js --skip-plugins @vue/cli-plugin-eslint",
16
+ "build-bundle": "vue-cli-service build --target lib --name gallery src/main-bundle.js --skip-plugins @vue/cli-plugin-eslint",
17
17
  "lint": "vue-cli-service lint"
18
18
  },
19
19
  "main": "dist/gallery.common.js",
@@ -0,0 +1,2 @@
1
+ import Gallery from './components/Gallery.vue'
2
+ export default Gallery
package/src/main.js CHANGED
@@ -1,2 +1,8 @@
1
- import Gallery from './components/Gallery.vue'
2
- export default Gallery
1
+ import Vue from 'vue'
2
+ import App from './App.vue'
3
+
4
+ Vue.config.productionTip = false
5
+
6
+ new Vue({
7
+ render: h => h(App),
8
+ }).$mount('#app')