Im trying to use the globbing to load all components from a folder
// default.jade
include ../components/**/*
doctype html
html
head
include ../partials/head
body
include ../partials/header
include ../partials/menu
include ../partials/main
include ../partials/footer
In a second file Im extending this first one that use globbing
extends ../layouts/default.jade
block main
when I try to compile Im getting a error
Error in plugin 'gulp-jade'
Message:
/Users/ivanbanov/github/natue/naturals/templates/layouts/default.jade:1
> 1| include ../components/**/*
2|
3| doctype html
4| html
ENOENT, no such file or directory '/Users/ivanbanov/github/natue/naturals/templates/components/**/*.jade'
Details:
errno: -2
code: ENOENT
path: /Users/ivanbanov/github/natue/naturals/templates/layouts/default.jade
syscall: open
Im trying to use the globbing to load all components from a folder
In a second file Im extending this first one that use globbing
when I try to compile Im getting a error