Questions tagged [prepros]

Prepros is a GUI compiler for preprocessing languages such as LESS, Sass, Compass, Stylus, Jade, Slim, Markdown, Haml and CoffeeScript. Prepros can also live refresh your browser whenever you change your code on your editor.

Prepros is a GUI compiler for preprocessing languages such as LESS, Sass, Compass, Stylus, Jade, Slim, Markdown, Haml and CoffeeScript. Prepros has a built-in server so you can also live refresh your browser whenever you change your code on your editor.

Runs on Windows, Mac OS X, and Linux.

See https://prepros.io/

65 questions
1
vote
2 answers

How do I define a basedir in Jade using only Prepros to compile templates?

I'm using Jade without Node, I'm simply using the software Prepros to compile the templates to static HTML. I want to include partials that are outside of the folder the Jade templates are in, like so: include /partials/foo.html However, using paths…
Dirk Diggler
  • 863
  • 1
  • 10
  • 22
1
vote
0 answers

Unable to compile compass with any tools

i would to test tools to compile sass/compass instead of command line. Actually i do it on my local LAMP server on virtual machine.So i upload files onto and it compile sass/compass. But i develop on a windows 7 machine plugged on a windows…
webmaster pf
  • 389
  • 1
  • 5
  • 23
1
vote
1 answer

Concatenating JavaScript files with Prepros fails

I have this little cat.js file: var Cat = (function( cat ){ cat.speak = function(){ return 'meew'; }; return cat; } ( Cat || {} )); // @prepros-prepend cat.eat.js The cat.eat.js consists of: var Cat = (function( cat ){ cat.eat =…
Kriem
  • 8,666
  • 16
  • 72
  • 120
0
votes
1 answer

"Not allowed to load local resource" error when knitting to HTML document and running on a server

I'm trying to load a local JSON file in an RMarkdown (knitting to HMTL): ```{js} $(document).ready(function(){ $.getJSON("C:/Users/Data/my_json.json", function(data){ console.log(data); }).fail(function(){ …
DiamondJoe12
  • 1,879
  • 7
  • 33
  • 81
0
votes
1 answer

prepros always create with the name of dist

I am using prepros to minify my js file. In settings I am choosing the output file and I have activated the automatically processing. When I process single file via GUI, that works fine. But when I save my js file prepros creates a 'dist' directory…
0
votes
1 answer

Importing SASS variables with @use

I have been using LESS for years and am only just trying out SASS. I am having trouble with a very basic thing so I hope someone can help me out. What I want to achieve is: a file theme.scss (which is compiled into theme.css) contains separate…
Emleh
  • 5
  • 1
  • 2
0
votes
1 answer

Prepros ftp upload timeout

Im using prepros premium, and i'm having a issue where after 1-2 saves, prepros times out, and can't upload the files to the server using ftp. I've tried to Put Keep Alive Timeout down to 1000. Restart it and Reinstall it. Any suggestions.?
0
votes
1 answer

Bootstrap Local with Prepros

Just started coding. So I need to manually convert a PSD into HTML and SCSS. We also need to minify with Prepros. I added the file template, selected stylesheet bootstrap.css (with bootstrap.min.css as output). Now there's an other stylesheet called…
0
votes
1 answer

How to minify JSON using Prepros?

I've been struggling trying to figure out how to automatically minify my json on save using Prepros. Prepros will do the same for all my JS and CSS, but it doesn't seem to have a built in functionality for handling JSON.
jbwharris
  • 710
  • 1
  • 10
  • 30
0
votes
1 answer

Prepros pre-processor not compiling mixins

I am using Prepros preprocessor for the first time, I have following mixin in my less file. .mq_max(@max_width; @rules) { @media only screen and (max-width: @max_width) { @rules(); } } And I am calling it in my less file like…
Danish Adeel
  • 728
  • 4
  • 11
  • 27
0
votes
2 answers

Should Prepros work to compile my SASS to CSS on a Github.io page? If so, what could be causing my SASS styling to not work on the Github.io page?

My project is styled just as I want it to be locally. After pushing it to GitHub and all the files appear to be present I published it to a GitHub.io page and none of my stylings are present. Have I fundamentally misunderstood the purpose and use of…
Lenocam
  • 331
  • 2
  • 17
0
votes
1 answer

Automatically trigger PrePros when partial file is saved

I have PrePros running. When I save a partial (ie _partial.scss) I would like to have the main SCSS file (that imports "_partial.scss) processed
Alan
  • 57
  • 4
0
votes
0 answers

prepros live preview + xampp vhost > error 500

I just installed prepros, because I like this idea. I'm already using xampp vhost for developing websites. But i'm getting error 500 from prepros. my setup: httpd-vhosts.conf prepros setup and result: result I'll be happy, if anybody will help me…
0
votes
1 answer

Prepros 6 SFTP directory uploaded to wrong path

I have a directory upload issue in Prepros 6.1.1, with SFTP only. This may be related to that question: Folders uploading in Prepros The file upload is OK, but Prepros will create directories in the wrong path! Example I want to upload…
0
votes
0 answers

Sass changes visible when compiled locally but don't show up when uploaded to server

I am using Prepros.io to make changes to sass based Wordpress theme. My issue is the changes I'm making a working locally but when I uploaded the files to the server, the css changes I made don't show up. Do I need to export the files before…
XD4
  • 103
  • 1
  • 2
  • 11