Answer the question
In order to leave comments, you need to log in
How to load *.atlas file into React component?
I'm trying to load animation files (json, png, atlas) into the React component.
import * as spinePng3 from './skeleton.png';
import * as spineAtlas3 from './skeleton.atlas';
import * as spineJSON3 from './skeleton.json';
Module not found: Error: Can't resolve '/ships/untitled.atlas'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question