@hulkapps/app-manager-vue 2.0.3 → 2.0.6

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/README.md CHANGED
@@ -26,9 +26,35 @@ Vue.use(AppManager);
26
26
  <Banners type="header" />
27
27
  <Banners type="footer" />
28
28
  <AppManagerPlan @handlePlanSelect="handlePlanSelectListener" :shop_domain="shop_domain" />
29
+ <AppManagerSliderPlan @handlePlanSelect="handlePlanSelectListener" :shop_domain="shop_domain" />
29
30
  ```
30
31
  The AppManagerPlan component requires a Shop Domain
31
32
 
33
+ #### Non-Vue App usage
34
+
35
+ ```html
36
+ <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
37
+ <script src="https://cdn.jsdelivr.net/npm/@hulkapps/app-manager-vue@2.0.3/dist/app-manager-vue.min.js"></script>
38
+ <script src="https://cdn.jsdelivr.net/npm/regenerator-runtime@0.13.9/runtime.min.js"></script>
39
+ <link href="https://cdn.jsdelivr.net/npm/@hulkapps/app-manager-vue@2.0.3/dist/hulkapps-app-manager.css" rel="stylesheet">
40
+
41
+ <div id="app" class="app-manager">
42
+ <Banners type="header" />
43
+ <app-manager-plan shop_domain="<%= @store.shopify_domain %>" />
44
+ </div>
45
+
46
+ <script>
47
+ Vue.use(AppManagerVue, {baseUrl: '<%= ENV['volume_domain'] %>'})
48
+ var app = new Vue({
49
+ el: '#app',
50
+ data: {
51
+ message: 'Hello Vue!',
52
+ domain: '<%= @store.shopify_domain %>'
53
+ }
54
+ })
55
+ </script>
56
+ ```
57
+
32
58
  A `handlePlanSelect` event is emitted when the user continues without selecting a plan.
33
59
 
34
60
  ```javascript