Installation
We can download/install framework7 with two ways:
Download From GitHub Repository
We can download required Framework7 files from Framework7 GitHub repository.
From the downloaded Core package we will need files from and js
folders
This feature currently can be used in bundlers like Webpack and Rollup
Framework7 can also be imported as an ES-next module:
Framework7 has modular structure and by default it exports only core Framework7 with core components.
Such modular structure provides best tree-shaking results and package size optimization.
In addition to default
export it has named export for Template7
, , Request
, Device
, Utils
and libraries:
If you need to include Framework7 with all components, we can include its another script bundle with all components installed:
Note, that Framework7 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
, dom7
and ssr-window
modules that used as dependencies.