0.2.1 • Published 3 years ago

@point-hub/vue-cookie v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

@point-hub/vue-cookie

Vuejs 3 plugin for handle browser cookie

Installation

yarn add @point-hub/vue-cookie

or

npm install @point-hub/vue-cookie --save

Usage

Import Plugin

import cookie from "@point-hub/vue-cookie";

Insert or Update Cookie

cookie.set("name", "value")


# with options

cookie.set("name", "value", {
  expires: "",
  path: "/"
})

Read Cookie

cookie.get("name")

Delete Cookie

cookie.remove("name")

Build Setup

# Project setup

yarn install

# Compiles and hot-reloads for development

yarn serve

# Compiles and minifies for production

yarn build

# Run your unit tests

yarn test:unit

# Lints and fixes files

yarn lint

# Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
0.2.1

3 years ago

0.1.1

4 years ago

0.1.0

5 years ago