vue-cookie-bar
0.1.1 • Public • Published vue-cookie-bar
Usage
npm install vue-cookie-bar
or yarn add vue-cookie-bar
- Add
import VueCookieBar from 'vue-cookie-bar
somewhere in root of your application (for example App.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
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads