New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

vue-cookie-notification

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-cookie-notification

Vue eu cookie law notification

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

  • Lead Maintainer: David Roche

Vue cookie notification is a simple way to add cookie notice to your website to comply with EU law. The main functionality still has to be added :)

Install

To install via npm,

install vue-cookie-notification

Quick Example

<template>
  <div id="app">
    <cookie :cookietext="cookietext" :cookiebutton="cookiebutton" :cookietextcolor="cookietextcolor"
    :cookietextsize="cookietextsize" :cookiebackgroundcolor="cookiebackgroundcolor" :cookiename="cookiename" :cookievalue="cookievalue" :cookieexdays="cookieexdays" ></cookie>
  </div>
</template>

import cookie from 'vue-cookie-notification';

export default {
  name: 'app',
  components: {
    cookie
  },
  data () {
    return {
      cookietext:'In order to give you the best experience, our website eats cookies. By continuing to use this site, you agree to our diet of cookies.',
      cookiebutton:'feed me',
      cookietextcolor:'green',
      cookietextsize:'20px',
      cookiebackgroundcolor:'orange',
      cookiename:'VUECOOKIE',
      cookievalue:'12345',
      cookieexdays:365,


    }
  }
}
<style>

</style>

Contributing

If you feel you can help in any way, be it with bug reporting, documentation, examples, extra testing, or new features feel free to create an issue, or better yet, [submit a Pull Request.

Keywords

vue

FAQs

Package last updated on 20 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts