@formio/offline-plugin 5.2.1-rc.9 → 5.2.1

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
@@ -59,15 +59,13 @@ Once the module has been intialized, you can access the instance of this plugin
59
59
  const OfflinePlugin = Formio.getPlugin('myproject-offline');
60
60
  ```
61
61
 
62
- ## Embedding
63
- This plugin can be embedded within a website where it renders a form with offline mode enabled. This can be done with the following syntax.
62
+ If you want to use a <script> tag directly in your HTML file instead*:
64
63
 
65
64
  ```html
66
- <script src="https://cdn.form.io/js/formio.form.min.js"></script>
67
- <script src="https://yourdomain.com/assets/offline/formio.offline.min.js"></script>
65
+ <script src="node_modules/@formio/offline-plugin/offline.full.min.js"></script>
68
66
  ```
69
67
 
70
- Once you do this, the offline module will introduce a new global called ```FormioOfflinePlugin```, which you can now register the OfflinePlugin as you did above using the following script.
68
+ *Once you do this, the offline module will introduce a new global called ```FormioOfflinePlugin```, which you can now use to register the OfflinePlugin as you did above using the following script.
71
69
 
72
70
  ```html
73
71
  <script type="application/javascript">