Home > vue-router > stringifyQuery
Stringifies a LocationQueryRaw object. Like URLSearchParams, it doesn’t prepend a ?
Signature:
export declare function stringifyQuery(query: LocationQueryRaw): string;
| Parameter | Type | Description |
|---|---|---|
| query | LocationQueryRaw |
query object to stringify |
Returns:
string
string verion of the query without the leading ?