UNPKG
@alfonsobries/vue-tailwind
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
## Project setup ``` npm install ```
@alfonsobries/vue-tailwind
/
src
/
components
/
index.js
13 lines
(9 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
Vue
from
'vue'
import
TTextField
from
'./TTextField.vue'
const
Components
= {
TTextField
}
Object
.
keys
(
Components
).
forEach
(
name
=>
{
Vue
.
component
(name,
Components
[name]) })
export
default
Components