mvelosop / AspNetCore2CoreUI

ASP.NET MVC Core 2 project using CoreUI.io template
MIT License
88 stars 39 forks source link

Html files in subfolders of src not getting updated or converted to cshtml #7

Open mmalik76 opened 6 years ago

mmalik76 commented 6 years ago

It looks like there have been some changes to the folder structure of CoreUI since you created the build-aspnetcore scripts. Some of the html file have been moved to subfolders like src\buttons\dropdowns.html, and are not getting updated or converted to cshtml. To fix this issue you need to update line 32 of build\aspnetcore-lib.js to the following.

fs.readdirSync(dir).filter(f => fileExt === '*' ? true : (path.extname(f) === fileExt || path.extname(f) === "")).forEach(file => {

mvelosop commented 6 years ago

Hi @mmalik76, thanks for the heads up!

I'll fix it in the repo/post.