New Metronic Docs!Added Integration Docs with Starter Kits Apps for Laravel, Laravel Livewire, Angular, Vue, Symfony, Blazor Server, Django & Flask & more
Browse Docs

Cannot find file gulp.config.json in HTML v8.3.0 package


Hi,

I downloaded HTML v8.3.0 package and followed the build instruction with Gulp.
However, I cannot find the file gulp.config.json in tools folder.
Besides, I realized that the content you mentioned in gulp.config.json as same as that in gulp.config.js.

Do we continue using gulp.config.json?
What should I do know?
- Add new file gulp.config.json
- Configure directly in gulp.config.js

Thanks,
Jason


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

Sorry for the inconvenience. May I know which framework you are working with?
Web/wwwroot seems to be ASP.NET? We will update the docs to fix the issues.

Thanks



Hi Faizal,

Yes, it is ASP.NET. However, I am familiar with HTML package so most of the time I use it. My preivous version is v8.2.3 which contains a gulp.config.json file and I just follow the instruction then everything works well.

https://preview.keenthemes.com/html/metronic/docs/getting-started/build/gulp

Please update the docs to both HTML & ASP.NET frameworks if possible.

Thanks



Update

I tried both the approaches
- Add new gulp.config.json file

{
"config": {
"path": {
"src": "../{theme}/src"
},
"dist": [
"../../../src/Web//wwwroot/assets"
]
}
}


The file style.bundle.css was not generated and my website was broken. However, the other files are generated correctly.

- Configure directly in gulp.config.js
Everything works correctly.

I will go with the second approach now but please update the documentation so that I will know what is the correct way to follow.

Thanks,
Jason


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(