Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(