I'm building an app with React and create-react-app. I want to use foundation-sites from npm. I do:
import React, { Component } from 'react';
import jQuery from 'jquery';
import Foundation from 'foundation-sites';
At this point even with no further code I get an error "Uncaught ReferenceError: jQuery is not defined" coming from foundation.js. Normally people fix this with webpack configuration, but with create-react-app I don't have an access to webpack config. I wouldn't like to do eject. I tried other solutions like here and nothing helped.
Is it actually possible to use Foundation with this setup?