relative
Import from @varavel/vdl-plugin-sdk/utils/paths.
Computes the relative path from one location to another.
Parameters
| Parameter | Type | Description |
|---|---|---|
from |
string |
Starting path. |
to |
string |
Destination path. |
Returns
string
The normalized relative path from from to to.
Example
See
Powered by pathe (MIT License): https://github.com/unjs/pathe