¿ How to use Spline Viewer in Angular 18 project?

Discussão em 'Angular' iniciado por Nikita Smirnov, Setembro 25, 2024.

  1. I can use Spline (https://spline.design) in my Angular project using Code Export, but non-step Scroll supposedly only works with the viewer.

    import { SplineViewer } from '@splinetool/viewer'; and imports: [SplineViewer],

    show an error popper "Component imports must be standalone components, directives, pipes, or must be NgModules.(-992012)"

    Will there be native support for Angular? Does anyone know how to use Spline Viewer in Angular?

    I tried making a separate component for SplineViewer and import it there, but, makes sense, SplineViewer still wasn't a standalone component.

    Continue reading...

Compartilhe esta Página