How to import aframe into hello-snowpack?

Hey, I’m trying to use ES6 in my frontend code and found the snowpack guide.

I can import some packages, but this fails:
import 'aframe';

I tried npm install --save aframe and adding it via the button in package.json.
In the JS browser console I can see that it tries to load aframe.js from web_modules.
GET /web_modules/aframe.js net::ERR_ABORTED 404

Any ideas?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.