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
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