Framework7 React Package Structure
is a so called -format JavaScript intended to be used directly in browser (e.g. with <script src="...">
) or with libraries like Require.js. It already contains all Framework7-React components registered.
It is not recommended to use this version for production, just for development and testing.
Or they can be imported using named import from main file
Framework7 React plugin can be imported as an ES-next module:
Note, that Framework7 and Framework7-React ES modules are in ES-next syntax, so don’t forget to enable/configure your Babel/Buble to transpile them as well, as well as template7
, and ssr-window
modules that used as dependencies.