I’m having trouble getting access to the Assets API.
Assets work in the simple
quick-start
setup.
When I clone either ui-hello-react
or ui-hello-vue
, install & watch those projects run fine, too.
As soon as I require the assets in the
main.js
, I’m getting an error.
Running Prerelease 17.0
const assets = require("assets")
Module not found: Error: Can’t resolve ‘assets’ in '/Users/…/Library/Application Support/Adobe/Adobe XD CC (Prerelease)/develop/…
What could be causing this issue?