vue-cookie-bar

0.1.1 • Public • Published

vue-cookie-bar

NPM GitHub

Usage

  1. npm install vue-cookie-bar or yarn add vue-cookie-bar
  2. 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

none

Package Sidebar

Install

npm i vue-cookie-bar

Weekly Downloads

3

Version

0.1.1

License

none

Unpacked Size

1.22 MB

Total Files

17

Last publish

Collaborators

  • rafalolszewski94