Skip to content

vue-router / _encodeHash

_encodeHash() ​

ts
function _encodeHash(text): string;

Internal

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

Parameters ​

text ​

string

string to encode

Returns ​

string

encoded string

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

Released under the MIT License.