Skip to content

vue-router / _PathParserOptions

_PathParserOptions ​

Internal

Properties ​

end? ​

ts
optional end?: boolean;

Should the RegExp match until the end by appending a $ to it.

Deprecated ​

this option will alsways be true in the future. Open a discussion in vuejs/router if you need this to be false

Default Value ​

true


sensitive? ​

ts
optional sensitive?: boolean;

Makes the RegExp case-sensitive.

Default Value ​

false


start? ​

ts
optional start?: boolean;

Internal

Should the RegExp match from the beginning by prepending a ^ to it.

Default Value ​

true


strict? ​

ts
optional strict?: boolean;

Whether to disallow a trailing slash or not.

Default Value ​

false

Released under the MIT License.