vue-cookie-bar
v0.1.1
Published
[![NPM](https://badgen.net/npm/v/vue-cookie-bar)](https://www.npmjs.com/package/vue-cookie-bar) [![GitHub](https://badgen.net/github/release/rafalolszewski94/vue-cookie-bar)](https://github.com/rafalolszewski94/vue-cookie-bar)
Downloads
8
Readme
vue-cookie-bar
Usage
npm install vue-cookie-bar
oryarn add vue-cookie-bar
- Add
import VueCookieBar from 'vue-cookie-bar
somewhere in root of your application (for exampleApp.vue
<template> <div id="app"> <img alt="Vue logo" src="./assets/logo.png" /> <HelloWorld msg="Welcome to Your Vue.js App" /> <cookie-bar /> </div> </template> <script> import HelloWorld from "./components/HelloWorld.vue"; import CookieBar from "vue-cookie-bar"; export default { name: "App", components: { HelloWorld, CookieBar } }; </script>
Options
text
acceptText
linkText
link
customLink
containered
containerWidth
Contributing
- Run locally:
vue serve --open src/components/CookieBar.vue
- Submit PR