diff --git a/js/components/text_input.js b/js/components/text_input.js new file mode 100644 index 00000000..8baf14b8 --- /dev/null +++ b/js/components/text_input.js @@ -0,0 +1,3 @@ +export default { + name: 'textinput' +} diff --git a/js/index.js b/js/index.js index 72dbda3d..b1d81898 100644 --- a/js/index.js +++ b/js/index.js @@ -1,6 +1,12 @@ import classes from '../styles/atat.scss' import Vue from 'vue/dist/vue' +import TextInput from './components/text_input' + +const components = { + TextInput +} + const app = new Vue({ el: '#app-root', methods: { @@ -17,5 +23,6 @@ const app = new Vue({ styleguideModal: false, } } - } + }, + components: components }) diff --git a/templates/styleguide.html b/templates/styleguide.html index b57e45ac..dd313184 100644 --- a/templates/styleguide.html +++ b/templates/styleguide.html @@ -130,15 +130,17 @@
-
- - -
+ +
+ + +
+