Work in progress...
npm install vue-cookie-box --save
<CookieBox />
import "vue-cookie-box/dist/vue-cookie-box.css"
import {CookieBox} from "vue-cookie-box"
export default {
components: {
CookieBox
}
}
/* Or use CookieBox's bannerStyle property. */
.cookie-box-banner {
background-color: blue;
}
Don't use path subsitution (e.g. import X from @/src/...
) inside src
. It breaks emitted typings when imported as npm package.
Ok to use in tests
.
Don't scope styles of components which should accept overrides by consumer.
- [] allow custom content via
<slot>
- [] i18n
- [] make
ConsentStoreSource
string enum and export it
npm install
npm run serve
npm run build
npm run test:unit
npm run lint