<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.r512.com/index.php?action=history&amp;feed=atom&amp;title=Grunt_with_Sass</id>
	<title>Grunt with Sass - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.r512.com/index.php?action=history&amp;feed=atom&amp;title=Grunt_with_Sass"/>
	<link rel="alternate" type="text/html" href="https://www.r512.com/index.php?title=Grunt_with_Sass&amp;action=history"/>
	<updated>2026-04-03T15:36:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://www.r512.com/index.php?title=Grunt_with_Sass&amp;diff=245&amp;oldid=prev</id>
		<title>Bacchas at 13:02, 12 August 2016</title>
		<link rel="alternate" type="text/html" href="https://www.r512.com/index.php?title=Grunt_with_Sass&amp;diff=245&amp;oldid=prev"/>
		<updated>2016-08-12T13:02:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:02, 12 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot;&gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[#These have to be installed|Back To Top]]-[[Main_Page| Home]] - [[Css|Category]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==&lt;/ins&gt;[[#These have to be installed|Back To Top]]-[[Main_Page| Home]] - [[Css|Category]]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bacchas</name></author>
	</entry>
	<entry>
		<id>https://www.r512.com/index.php?title=Grunt_with_Sass&amp;diff=205&amp;oldid=prev</id>
		<title>Bacchas at 15:56, 9 August 2016</title>
		<link rel="alternate" type="text/html" href="https://www.r512.com/index.php?title=Grunt_with_Sass&amp;diff=205&amp;oldid=prev"/>
		<updated>2016-08-09T15:56:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:56, 9 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l91&quot;&gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       output_style = :nested&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       output_style = :nested&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[#These have to be installed|Back To Top]]-[[Main_Page| Home]] - [[Css|Category]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bacchas</name></author>
	</entry>
	<entry>
		<id>https://www.r512.com/index.php?title=Grunt_with_Sass&amp;diff=84&amp;oldid=prev</id>
		<title>Bacchas: Created page with &quot;== These have to be installed ==  * Ruby // executable from website * NodeJs // executable from website * compass // gem install compass * susy // gem install susy * Install N...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.r512.com/index.php?title=Grunt_with_Sass&amp;diff=84&amp;oldid=prev"/>
		<updated>2016-08-05T21:40:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== These have to be installed ==  * Ruby // executable from website * NodeJs // executable from website * compass // gem install compass * susy // gem install susy * Install N...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== These have to be installed ==&lt;br /&gt;
&lt;br /&gt;
* Ruby // executable from website&lt;br /&gt;
* NodeJs // executable from website&lt;br /&gt;
* compass // gem install compass&lt;br /&gt;
* susy // gem install susy&lt;br /&gt;
* Install Node JS&lt;br /&gt;
* https://nodejs.org/en/download/&lt;br /&gt;
== Create package.json file in project root ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;name&amp;quot; : &amp;quot;Outwater&amp;quot;,&lt;br /&gt;
	&amp;quot;version&amp;quot; : &amp;quot;0.0.1&amp;quot;,&lt;br /&gt;
	&amp;quot;dependencies&amp;quot; : {&lt;br /&gt;
		&amp;quot;grunt&amp;quot; : &amp;quot;~0.4.1&amp;quot;,&lt;br /&gt;
		&amp;quot;grunt-contrib-watch&amp;quot; : &amp;quot;~0.5.3&amp;quot;,&lt;br /&gt;
		&amp;quot;grunt-contrib-compass&amp;quot; : &amp;quot;~0.5.0&amp;quot;,&lt;br /&gt;
		&amp;quot;grunt-contrib-uglify&amp;quot; : &amp;quot;~0.2.2&amp;quot;,&lt;br /&gt;
		&amp;quot;matchdep&amp;quot; : &amp;quot;~0.1.2&amp;quot;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== run npm install in command prompt ==&lt;br /&gt;
* this will install all the packages you entered in the .json file&lt;br /&gt;
* Learn More about package.json&lt;br /&gt;
https://docs.npmjs.com/json&lt;br /&gt;
* Install Grunt&lt;br /&gt;
* npm install -g grunt-cli &lt;br /&gt;
* Create Grunt File (gruntfile.js)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    	module.exports = function(grunt){&lt;br /&gt;
	// load plugins that you will use&lt;br /&gt;
        grunt.loadNpmTasks(&amp;#039;grunt-contrib-uglify&amp;#039;);&lt;br /&gt;
        grunt.loadNpmTasks(&amp;#039;grunt-contrib-watch&amp;#039;);&lt;br /&gt;
        grunt.loadNpmTasks(&amp;#039;grunt-contrib-compass&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
		grunt.initConfig({&lt;br /&gt;
	uglify:{&lt;br /&gt;
		my_target: {&lt;br /&gt;
			files: {&lt;br /&gt;
				&amp;#039;_/js/script.js&amp;#039;:[&amp;#039;_/components/js/script.js&amp;#039;, &amp;#039;_/components/js/other.js&amp;#039;] // this is an array&lt;br /&gt;
				// you can use *.js to process all files in the dir&lt;br /&gt;
			} // take the script from the component folder and compress it into the js folder&lt;br /&gt;
		}// my target&lt;br /&gt;
	},// uglify&lt;br /&gt;
&lt;br /&gt;
	compass: {&lt;br /&gt;
		dev: {&lt;br /&gt;
			options: {&lt;br /&gt;
				config: &amp;#039;config.rb&amp;#039;&lt;br /&gt;
			}// options&lt;br /&gt;
		}// dev&lt;br /&gt;
&lt;br /&gt;
	},// compass&lt;br /&gt;
	watch: {&lt;br /&gt;
		options: {livereload: true},&lt;br /&gt;
		scripts: {&lt;br /&gt;
			files :[&amp;#039;_/components/js/*.js&amp;#039;],&lt;br /&gt;
			tasks: [&amp;#039;uglify&amp;#039;] // this runs the uglify task above&lt;br /&gt;
		}, // scripts&lt;br /&gt;
&lt;br /&gt;
		sass: {&lt;br /&gt;
			files: [&amp;#039;_/components/sass/*.scss&amp;#039;],&lt;br /&gt;
			tasks: [&amp;#039;compass:dev&amp;#039;]&lt;br /&gt;
		},// sass&lt;br /&gt;
&lt;br /&gt;
		html: {&lt;br /&gt;
			files :[&amp;#039;*.html&amp;#039;]&lt;br /&gt;
		} // html&lt;br /&gt;
		&lt;br /&gt;
	}// watch&lt;br /&gt;
&lt;br /&gt;
})// initConfig&lt;br /&gt;
	grunt.registerTask(&amp;#039;default&amp;#039;, &amp;#039;watch&amp;#039;);&lt;br /&gt;
}// exports&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
== Terminal Commands ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
grunt uglify // will take the directives from the gruntfile.js&lt;br /&gt;
you can just run &amp;quot;grunt&amp;quot; if you have it setup as default&lt;br /&gt;
 ctrl+z mac ctrl+c windows stops task in terminal&lt;br /&gt;
config.rb // ruby config file, must be in workign dir root&lt;br /&gt;
require &amp;#039;susy&amp;#039;&lt;br /&gt;
      css_dir =&amp;#039;_/css&amp;#039;&lt;br /&gt;
      sass_dir = &amp;#039;_/components/sass&amp;#039;&lt;br /&gt;
      javascript_dir = &amp;#039;_js&amp;#039;&lt;br /&gt;
      output_style = :nested&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bacchas</name></author>
	</entry>
</feed>