You could use the vue-cookie or vue-cookies npm package.
You can set a cookie in the created method.
created() {
this.$cookie.set("keyName", keyValue, "expiring time")
}
You could use the vue-cookie or vue-cookies npm package.
You can set a cookie in the created method.
created() {
this.$cookie.set("keyName", keyValue, "expiring time")
}