vue-cookie-notification

Vue eu cookie law notification
592 1
Install
npm install vue-cookie-notification
Latest Version:0.0.4
License:ISC
Last Updated:Mar 20, 2018
Links: GitHub  ·  npm
Maintainer: davidwroche

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.

Related Packages

fy-form-render3

测试环境版本新的更新

10,811
use-on-demand

按需使用的代码工具仓库。

5,487
metaflow-js

EntityFramework for Metaflow

2,894 0

Version History

Version Released License
0.0.4 ISC
0.0.3 ISC
0.0.2 ISC
0.0.1 ISC