Showing posts with label mobile development. Show all posts
Showing posts with label mobile development. Show all posts

Thursday, September 22, 2016

framework7 build directory missing

If you have downloaded Framework7 and realized that you can't view the sample pages correctly this can be possibly caused by a missing directory named as build which is required by the samples. You can solve this problem using the following commands.

Framework7 uses gulp for development (build) and distribution (dist) versions. So you need to have gulp-cli installed globally. Run this command in terminal:
npm install --global gulp
Then change directory to the Framework7 root directory and install dependencies:
npm install
Now you're ready for development version of Framework7:
gulp build

After the previous command you should be able to see sample working correctly. You can also have distributable version available in dist/ folder after running the following command:
gulp dist