Framework7 website for contributing and offline usage
CSS JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6c0f92c Jul 16, 2018
Permalink
Failed to load latest commit information.
contribute Keep folders Feb 11, 2017
css Update Jul 6, 2018
docs-demos/core Lot of updates Jun 25, 2018
docs Keep folders Feb 11, 2017
fonts Merge v2 docs Jan 2, 2018
i React template Jul 16, 2018
icons tweaks and fixes Jan 2, 2018
js A lot more v3 docs Jun 24, 2018
kitchen-sink Update to 3.0.1 Jul 10, 2018
packages Update to 3.0.1 Jul 10, 2018
plugins tweaks and fixes Jan 2, 2018
react Don't track HTML files Mar 28, 2017
showcase Keep folders Feb 11, 2017
src React template Jul 16, 2018
tutorials Keep folders Feb 11, 2017
vue Keep folders Feb 11, 2017
.editorconfig Merge v2 docs Jan 2, 2018
.gitignore Cleanup + f7 update Jul 1, 2018
README.md tweaks and fixes Jan 2, 2018
generate-search-index.js Include react to search Jul 5, 2018
gulpfile.js Update Jul 6, 2018
package-lock.json Update Jul 6, 2018
package.json Update Jul 6, 2018
robots.txt Finalized v3 docs Jul 1, 2018

README.md

Framework7-Website

Framework7's website to use these docs offline

http://framework7.io

Gulp

Run npm install under root dir to install npm packages. And then, you can use gulp to compile less and pug files, read more about Gulp.

gulp tasks list

  • gulp server: run website on local server
  • gulp pug: build pug files to html
  • gulp less: build less files to css
  • gulp build: build both pug and less files

By default all static resources refer to CDN host. To use local resources (for dev purpose only), you can call same gulp tasks with -local argument

  • gulp pug -local: build pug files to html and use local resources instead of CDN
  • gulp build -local: build pug and less files use local resources instead of CDN
  • gulp server -local: run website on local server and use local resoureses with next builds

Contributing

All HTML and CSS changes should be commited to src/ files only!