DEV Community

Discussion on: Add Snowpack to ASP.NET Core Web App

Collapse
 
johnyl profile image
Eugene • Edited

This didn't work for me. Before "Prepare Project for Publishing" paragraph I didn't get styles applied. wwwroot\dist\css\bootstrap.css has @import ../_snowpack/pkg/bootstrap.dist.css.bootstrap.v4.6.0.css"; in it which does not exist in that folder. Instead, there's bootstrap.dist.css.bootstrap.v4.6.0.css.proxy.js file.

Collapse
 
kagundajm profile image
Kagunda JM

Snowpack v3.1 has a bug that breaks the build. Installing Snowpack v3.0.13 (npm install --save-dev snowpack@3.0.13) will build and work without errors.

Collapse
 
johnyl profile image
Eugene

That worked! Thanks a lot! 😉🤩