Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am most probably doing something really stupid but I just can't figure it out. It just keeps saying file not found. I tried using crunch and the same error. The file is right there and I am positive the location is right.
Allright figured it out. So I learned that in Less, if I open a file inside a folder, I need not reference the #import files from root. I removed the folder reference and kept the file name only and it worked.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
So... My pages were all done. Everything and every CSS running smoothly... And then I added my routes. Apparently my main route "/" managed to load every css file from my routes and now Im not sure what to do?
I looked it up and found some people talking about absolute pathing my styles. Didn't really work thou... Also tried to inspect and make sure nothing was overwriting my styles... I'm using reactjs. You guys have some tip for me?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Kindly see the option that I've tried which dont worked out for me.
You can right-click on the file in Prepros and select Disable Auto Compile.
I don't want anything processed except for my "main.scss" file. Is there a way to prevent Prepos from processing certain scss files
For all other files except for main.scss, add "_" before the name.
They are called partials. For example _variables.scss, _header.scss or _footer.scss and include them all in the beginning of the main.scss file
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm new in reactJs and I'm using webpack-dev-server to compile and check my code, the problem is that when I add a stylesheet to the sources as an imported file in the result everything is shown well and also in the output folder with the plugin I've imported the bundle.js file update but there is no sign of stylesheet file
My question is that what happened to the css file ? is that necessary to be there? or the styles are composed by the output js file? because when i moved the file it works fine again without any problem.
tnx
In production you probably wants to include all your CSS in one bundle file minifiying the result and exclude all CSS files not minified you used for actual development.
To do this you could use a CSS Loader, there are several options, one could be:
https://github.com/webpack-contrib/css-loader
An interesting article, it should help you to get started:
https://medium.com/trabe/multiple-css-bundles-with-webpack-75f263095f09
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I keep trying and trying but I have no idea what the issue is.
Linked is a picture of my code showing the source code and directory structure of my site.
Got answer thanks
You need to move your index.html page to your Websitename directory. Currently your page is trying to find the css directory inside of the img directory and of course it doesn't exist there.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How can Prevent copying my Site templates such as CSS & Javascript code or anyone fails to copy my website.
please help me.
I tried many ways but it was inconclusive.I'm sorry that asked this question.There is no way for this problem.I realized my mistake.
Sorry to say but all client-side code can be copied.
Your best bet is to stop publishing your site online.
Obfuscate
However, there are tools that help you obfuscate code. Here's one.
http://www.javascriptobfuscator.com/
http://htmlobfuscator.com/
Minify
On the other hand, most techniques employ that minify your code.
Here's two links:
http://cssminifier.com/
http://www.willpeavy.com/minifier/