1.0.5 • Published 3 years ago

phwebs-cookiebar v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

phwebs-cookiebar

Vue simple file component for displaying cookie bar with simple success.

Cookie succes expires is one year.

Installation

npm install phwebs-cookiebar --save

Dependencies

"vue": "^2.6.14"
"vue-cookie": "^1.1.4"

Usage

Before init your Vue application, you need to import a vue-cookie and use it for Vue.

import Vue from "vue"
import VueCookies from "vue-cookie"

Vue.use(VueCookies)

Then place phwebs-cookiebar component in your root component.

<template>
    <div id="app">
        <!-- your other components -->
        <phwebs-cookiebar />
    </div>
</template>

<script>
    import PhwebsCookiebar from "phwebs-cookiebar"
    
    export default {
        components: {PhwebsCookiebar},
        data() {
            return {}
        }
    }
</script>
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago