0.0.7 • Published 8 years ago

gulp-qmlweb v0.0.7

Weekly downloads
20
License
-
Repository
github
Last release
8 years ago

A Gulp plugin to produce pre-parsed assets for QmlWeb

Join the chat at https://gitter.im/qmlweb/qmlweb

npm GitHub tag

Installation

Add the following dependencies to your package.json:

{
  "name": "QmlWebProject",
  "devDependencies": {
    "gulp": "~3.6.0",
    "gulp-concat": "~2.1.7",
    "gulp-qmlweb": "~0.0.7"
  }
}

Usage

var qml = require('gulp-qmlweb');
var concat = require('gulp-concat');

gulp.task('scripts', function() {
  return gulp.src(['qml/**/*.qml', 'qml/**/*.js', 'qml/**/qmldir'])
    .pipe(qml())
    .pipe(concat('qrc.js'))
    .pipe(gulp.dest('./dist/'));
});

This will compile all your QML sources (qml and javascript) and concatenate them in the /dist/qrc.js file.

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago