Framework7 Installation
Download Framework7
There are two ways to download Framework7:
Download from Framework7 Github Repository:
Or you can install Framework7 via bower:
Download Framework7 Library from CDNs
A CDN or Content Delivery Network is a network of servers designed to serve files to users. If you use a CDN link in your web page, it moves the responsibility of hosting files from your own servers to a series of external ones. This also offers an advantage that if a visitor to your webpage has already downloaded a copy of Framework7 from the same CDN, it won’t have to be re-downloaded. You can include the following CDN files into the HTML document.
CDN for iOS App layout:
Framework7 iOS CSS Library:
CDNs for Android/Material App Layout:
Framework7 JS library:
Ampps Server
We use AMPPS (AMPPS is a WAMP, MAMP and LAMP stack of Apache, MySQL, MongoDB, PHP, Perl & Python) server to execute all our examples.
In the downloaded/installed package we need files from the dist/ folder.
Dist folder path:
Bydefault dist/ folder path is: C:Program Files (x86)Amppswwwdist
Put your HTML, .JS and CSS files in your server root folder (dist folder), open local host and then run the page.
Example:
Create an HTML page “framework7_environment.html”, having the following code:
Create another HTML page “envirmnt_about.html”, having the following code:
Save the above both pages in dist folder. Now open server: http://localhost/dist/ and run the example.