-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Less not found in production #110
Comments
It's obviously not found :-) |
This is what the console gave me after making the build verbose: Running "less" task Running "less:production" (less) task Files: app.less -> temp/app.css Still not sure why app.less is missing and the css is broken. |
Do you need to install less on the production server? |
The grunt build will compile all the less into css. When you build, it should create a fully optimized build int the /dist directory. There should be no references left to any less files in that optimized build. Either something is going wrong during the build or you're not deploying the correct thing. |
Thanks resolved. It was a deployment error. |
My css is broken when I deploy my app to the production site. This is the error I am getting:
mysiteurl/app.less 404 (Not Found) .
Its weird however, when I deploy the app on github I don't have this problem.
I tried to find solutions elsewhere but to no avail. Let me know what could be causing this please.
Thanks.
The text was updated successfully, but these errors were encountered: