Skip to main content

Set App Version


caution

This is an clientside feature.

You can set the client version of your application with this method. This method will be used to identify the version of your application. This feature is crucial if you want to track the version of your application with the logs.

Accepts string.

pages/_app.tsx
...
// import version from package.json or write your own version. Preffered format is x.x.x
import { version } from "@/utils";

nexys.configure((config) => config.setAppVersion(version));
...