Search.../

Introduction

This module is intended for use when building Velo packages in Wix Blocks.

To use the module, import { getPackageConfig } from wix-configs-backend:

import { getPackageConfig } from 'wix-configs-backend';
js | Copy Code

When you build a Velo package, you can include a config.json file. Users of the package can edit this file and add personalized information such as settings preferences. The wix-configs-backend module allows you to access the contents of the config.json file in your package code, using the getPackageConfig() function.

Was this helpful?