This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data(){ | |
| return ({ | |
| description:'Description of the site' | |
| }) | |
| } | |
| head(){ | |
| return({ | |
| title: 'Home page', | |
| meta: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@context": "https://schema.org/", | |
| "@type": "Recipe", | |
| "name": "Ewedu Soup", | |
| "author": { | |
| "@type": "Person", | |
| "name": "Emmanuel Akhigbe" | |
| }, | |
| "datePublished": "2021-04-24", | |
| "description": "This soup sweet burst.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data() { | |
| return { | |
| title: 'Home page' | |
| } | |
| }, | |
| head() { | |
| return { | |
| title: this.title, | |
| meta: [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| head: { | |
| title: 'my website title', | |
| meta: [ | |
| { charset: 'utf-8' }, | |
| { name: 'viewport', content: 'width=device-width, initial-scale=1' }, | |
| { | |
| hid: 'description', | |
| name: 'description', | |
| content: 'my website description' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const gulp = require('gulp') | |
| const sass = require('gulp-sass') | |
| const transpileSassToCss = (cb) => { | |
| return gulp.src(`src/sass/main.scss`) | |
| .pipe(sass()) | |
| .pipe(gulp.dest(`src/css`)) | |
| } | |
| const watchSassFile = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const gulp = require('gulp') | |
| const sass = require('gulp-sass') | |
| const transpileSassToCss = (cb) => { | |
| return gulp.src(`src/sass/main.scss`) | |
| .pipe(sass()) | |
| .pipe(gulp.dest(`src/css`)) | |
| } | |
| const watchSassFile = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const gulp = require('gulp') | |
| const sass = require('gulp-sass') | |
| const transpileSassToCss = (cb) => { | |
| return gulp.src(`src/sass/main.scss`) | |
| .pipe(sass()) | |
| .pipe(gulp.dest(`src/css`)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const transpileSassToCss = (cb) => { | |
| return gulp.src(`src/scss/main.scss`) | |
| .pipe(dest(`src/css`)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const transpileSassToCss = (cb) => { | |
| return gulp.src(`src/scss/main.scss`) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const helloWorldTask = (cb) => { | |
| console.log(`hello world!`); | |
| cb(); | |
| } | |
| exports.default = helloWorldTask; |
NewerOlder