Skip to content

vue-router / _encodeQueryValue

_encodeQueryValue() ​

ts
function _encodeQueryValue(text): string;

Internal

Encode characters that need to be encoded query values on the query section of the URL.

Parameters ​

text ​

string | number

string to encode

Returns ​

string

encoded string

Exposed for integrations (e.g. Nuxt). Not covered by semver.

Released under the MIT License.