@dpa-connect/dpa-id-login-button
v0.2.3
Published
## Installation
Maintainers
Keywords
Readme
dpa-id-login-button
Installation
yarn add @dpa-connect/dpa-id-login-button
NB: you need to have access to our private npm org to install things while
we are in closed source.Usage
With a module System (commonjs-node)
Using Vue single file components and postcss imports
<template>
<dpa-id-login-button :height="40" :has-shadow="false">
<!-- Custom button text in default slot -->
Login with dpa-ID
</dpa-id-login-button>
</template>
<script>
import DpaIdLoginButton from '@dpa-connect/dpa-id-login-button';
export default {
components: {
DpaIdLoginButton,
}
};
</script>
<style postcss>
@import "@dpa-connect/dpa-id-login-button/lib/dpa-id-login-button.css";
</style>In the browser (universal modules)
See wc/demo.htmlAs web component (custom elements)
See lib/demo.html