1.4.0 • Published 3 years ago
tu-header v1.4.0
TU micro front-end Header POC
Install
$ npm install tu-header --saveUsage
Component
After a Vue app has been initialized with createApp(), you can add a plugin to your application by calling the use() method.
Source: https://v3.vuejs.org/guide/plugins.html#using-a-plugin
import { createApp } from 'vue'
import { TuHeader } from 'tu-header';
import App from './App.vue'
const app = createApp(App)
app.use(TuHeader);
app.mount('#app')The component <TuHeader /> is now available through the app.
Properties
In the component the following properties are available:
| prop | type | description | required |
|---|---|---|---|
| endpoint | String | GraphQL endpoint the application needs to talk against | true |
1.4.0
3 years ago
1.3.0
3 years ago
1.2.14
3 years ago
1.2.13
3 years ago
1.2.12
3 years ago
1.2.11
3 years ago
1.2.10
3 years ago
1.2.9
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago