You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to me that in the Italian version, there is an error in the definition of the gulpfile.js file.
The line:
var babelify = Require ('react')
it should be me i think:
var reatify = request ('react')
I apologize, but babelfy when it comes into action and for what purpose?
I, too, June 2020 when I launch gulp and observe the known rendering that does not add (for example) data-reagid = ". 0" to my HTML elements. Why this?
Below the code reported in the book.
var gulp = require('gulp');
var browserify = require('browserify'); var babelify = require('reactify');
var source = require('vinyl-source-stream');
It seems to me that in the Italian version, there is an error in the definition of the gulpfile.js file.
The line:
var babelify = Require ('react')
it should be me i think:
var reatify = request ('react')
I apologize, but babelfy when it comes into action and for what purpose?
I, too, June 2020 when I launch gulp and observe the known rendering that does not add (for example) data-reagid = ". 0" to my HTML elements. Why this?
Below the code reported in the book.
var gulp = require('gulp');
var browserify = require('browserify');
var babelify = require('reactify');
var source = require('vinyl-source-stream');
gulp.task('default', function () {
return browserify('./source/app.js')
.transform(reactify)
.bundle()
.pipe(source('snapterest.js'))
.pipe(gulp.dest('./build/'));
});
Thank you so much
The text was updated successfully, but these errors were encountered: