adata-ui 0.3.3 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
package/public/index.html CHANGED
@@ -1,17 +1,17 @@
1
- <!DOCTYPE html>
2
- <html lang="">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <link rel="icon" href="<%= BASE_URL %>logo.svg">
8
- <title>Adata UI</title>
9
- </head>
10
- <body>
11
- <noscript>
12
- <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
- </noscript>
14
- <div id="app"></div>
15
- <!-- built files will be auto injected -->
16
- </body>
17
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <link rel="icon" href="<%= BASE_URL %>logo.svg">
8
+ <title>Adata UI</title>
9
+ </head>
10
+ <body>
11
+ <noscript>
12
+ <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
+ </noscript>
14
+ <div id="app"></div>
15
+ <!-- built files will be auto injected -->
16
+ </body>
17
+ </html>
@@ -1,3 +1,4 @@
1
+ import Vue from "vue";
1
2
  import ACheckbox from "./Checkbox/ACheckbox";
2
3
  import ACheckboxMenu from "./CheckboxMenu/CheckboxMenu";
3
4
  import AButton from "./Button/AButton";
@@ -17,7 +18,7 @@ import AInternalServerError from "./ErrorPages/InternalServerError";
17
18
  import ANotFound from "./ErrorPages/NotFound";
18
19
  import AUnavailable from "./ErrorPages/Unavailable";
19
20
 
20
- export default {
21
+ const Components = {
21
22
  ACheckbox,
22
23
  AButton,
23
24
  ATextField,
@@ -38,5 +39,8 @@ export default {
38
39
  AUnavailable,
39
40
  };
40
41
 
42
+ Object.keys(Components).forEach((name) => {
43
+ Vue.component(name, Components[name]);
44
+ });
41
45
 
42
-
46
+ export default Components;