Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions packages/cookie-universal-nuxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,6 @@ const cookiesRes = this.$cookies.getAll()
- `name` (string): Cookie name to remove.
- `opts`
- `path` (string): Specifies the value for the Path Set-Cookie attribute. By default, the path is considered the "default path".
- `expires` (date): Specifies the Date object to be the value for the Expires Set-Cookie attribute.
- `maxAge` (number): Specifies the number (in seconds) to be the value for the Max-Age Set-Cookie attribute.
- `httpOnly` (boolean): Specifies the boolean value for the [HttpOnly Set-Cookie attribute][rfc-6265-5.2.6].
- `domain` (string): specifies the value for the Domain Set-Cookie attribute.
- `encode` (function): Specifies a function that will be used to encode a cookie's value.
- `sameSite` (boolean|string): Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7).
Possible values: `true`, `false`, `'lax'`, `'none'`, `'strict'` ([see details](https://github.com/jshttp/cookie#samesite)). Default is `false`.
- `secure` (boolean): Specifies the boolean value for the Secure Set-Cookie attribute.

```js
// nuxt middleware
Expand All @@ -257,14 +249,6 @@ this.$cookies.remove('cookie-name')

- `opts`
- `path` (string): Specifies the value for the Path Set-Cookie attribute. By default, the path is considered the "default path".
- `expires` (date): Specifies the Date object to be the value for the Expires Set-Cookie attribute.
- `maxAge` (number): Specifies the number (in seconds) to be the value for the Max-Age Set-Cookie attribute.
- `httpOnly` (boolean): Specifies the boolean value for the [HttpOnly Set-Cookie attribute][rfc-6265-5.2.6].
- `domain` (string): specifies the value for the Domain Set-Cookie attribute.
- `encode` (function): Specifies a function that will be used to encode a cookie's value.
- `sameSite` (boolean|string): Specifies the value for the [`SameSite` `Set-Cookie` attribute](https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7).
Possible values: `true`, `false`, `'lax'`, `'none'`, `'strict'` ([see details](https://github.com/jshttp/cookie#samesite)). Default is `false`.
- `secure` (boolean): Specifies the boolean value for the Secure Set-Cookie attribute.

```js
// nuxt middleware
Expand Down