To use the range component import the component in your JavaScript.
import '@cds/core/range/register.js';