
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vuejs Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/vuejs/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/vuejs/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Wed, 04 Nov 2020 22:52:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>Vuejs Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/vuejs/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>Vuejs Computed Properties vs Methods Comparison With Example</title>
		<link>https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/</link>
					<comments>https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 23 Nov 2017 14:51:41 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Developer]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Learn JavaScript]]></category>
		<category><![CDATA[Learn Vuejs]]></category>
		<category><![CDATA[Software Developer]]></category>
		<category><![CDATA[Vuejs]]></category>
		<category><![CDATA[Vuejs Tips]]></category>
		<category><![CDATA[Vuejs Tutorials]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13873</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Vuejs Computed Properties VS Methods Comparison - Technig" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Vue js is becoming more and more popular every day. It has a community of great developers. Also, you can develop almost any types of a web application with Vue. Besides, The Vue.js is an open-source progressive JavaScript framework for building user interfaces. Vue can also function as a web application framework capable of powering advanced [&#8230;]</p>
<p>The post <a href="https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/">Vuejs Computed Properties vs Methods Comparison With Example</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Vuejs Computed Properties VS Methods Comparison - Technig" decoding="async" srcset="https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/vuejs-computed-properties-vs-methods-comparison-technig-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p><a href="https://www.technig.com/introduction-learn-vuejs-framework/">Vue</a> js is becoming more and more <a href="https://www.technig.com/best-javascript-frameworks/">popular</a> every day. It has a community of great developers. Also, you can develop almost any types of a web application with Vue. Besides, The Vue.js is an open-source progressive JavaScript framework for building user interfaces. Vue can also function as a web application framework capable of powering advanced single-page applications. In this article, you will learn about Vuejs computed properties vs methods. Also, where should you use methods and where should you use computed properties.</p>
<h2>Vuejs Computed Properties VS Methods</h2>
<p>Firstly, I expect you know the basics of Vue and want&#8217;s to learn the differences between computed property and methods. So, we will discuss with clear and real-life examples.</p>
<p>You write the computed properties and methods almost in the same way. Let&#8217;s see an example and then we will explain it more.</p>
<p>[codepen_embed height=&#8221;432&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;GOxPbN&#8221; default_tab=&#8221;js,result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/Hujjat/pen/GOxPbN/&#8217;&gt;GOxPbN&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;https://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>In the above example, we have a collection of tasks. Then, we display them based on completed and incompleted tasks.<strong> As you can see</strong>, we have once computed property and one method. They do almost the same thing but opposite to each other.</p>
<p>Return completed tasks:</p>
<pre class="theme:sublime-text lang:js decode:true">  computed: {
    completedTasks() {
      return this.tasks.filter(task =&gt; task.completed);
    }
  }</pre>
<p>Return Incompleted tasks:</p>
<pre class="theme:sublime-text lang:js decode:true">methods: {
    InCompletedTasks() {
      return this.tasks.filter(task =&gt; !task.completed);
    }
  }</pre>
<blockquote><p><strong>Note</strong>: As you can see, we could use computed property or methods for both. Instead, we put them in two ways so that you can understand that,<em> what we can do with methods can be done with computed properties as well.</em></p></blockquote>
<p>So, there are some significant difference and usage you should consider while using them.</p>
<h2>Computed Properties</h2>
<p>In a nutshell, computed properties are called computed value as well. It means, they update and can be changed anytime. Also, it caches the data until it changes. When the Vue is instantiated, computed properties are converted into a property. Therefore, you reference a computed property just like you would a data property.</p>
<p><a href="https://vuejs.org/v2/guide/computed.html">Example</a>:</p>
<pre class="theme:sublime-text lang:js decode:true">var vm = new Vue({
  el: '#example',
  data: {
    message: 'Hello'
  },
  computed: {
    // a computed getter
    reversedMessage: function () {
      // `this` points to the vm instance
      return this.message.split('').reverse().join('')
    }
  }
})</pre>
<p>You can use it like this.</p>
<div id="example">
<pre class="lang:default decode:true">&lt;p&gt;Original message: "{{ message }}" &lt;/p&gt;
&lt;p&gt;Computed reversed message: "{{ reversedMessage }}"&lt;/p&gt;</pre>
</div>
<p>As you can see, the <span style="background-color: #dbdbdb;"><em>reverse message </em></span>is not written like function. It&#8217;s just like a keyword. Additionally, you can&#8217;t pass a value to a computed property despite the fact that it&#8217;s like function.</p>
<h2>Methods</h2>
<p>You probably work with function a lot. Methods are the same as function and work the same way. Besides, a method does nothing unless you call it. Also, like all javascript functions, it accepts parameters and will be re-evaluated every time it&#8217;s called. After that, they can&#8217;t cache values.<em> Additionally, you must use methods when you want to pass a value to modify it. </em></p>
<p>Example:</p>
<p>[codepen_embed height=&#8221;305&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;yPjjyg&#8221; default_tab=&#8221;html,result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;https://codepen.io/Hujjat/pen/yPjjyg/&#8217;&gt;Vuejs example for tutorial&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;https://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;https://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>As you can see. We can call it like a function and pass value. Then, you can change it or add something.</p>
<blockquote>
<p style="text-align: left;">In a nutshell, if you want to pass value, methods are good. Otherwise, computed properties are better for cache and speed.</p>
</blockquote>
<h2>Conclusion</h2>
<p>I hope the Vuejs computed properties VS methods compression has been informative for you. If you have any questions or suggestions, feel free to comment below. Besides, you can join our forum and ask questions frequently.</p>
<p>The post <a href="https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/">Vuejs Computed Properties vs Methods Comparison With Example</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/vuejs-computed-properties-vs-methods-comparison/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13873</post-id>	</item>
		<item>
		<title>Top 5 Best JavaScript Frameworks of all Time</title>
		<link>https://www.technig.com/best-javascript-frameworks/</link>
					<comments>https://www.technig.com/best-javascript-frameworks/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Tue, 14 Nov 2017 09:30:24 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Angularjs]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Array]]></category>
		<category><![CDATA[JavaScript Developer]]></category>
		<category><![CDATA[Most Popular Frameworks]]></category>
		<category><![CDATA[Node JS Framework]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Reactjs]]></category>
		<category><![CDATA[SavaScript Frameworks]]></category>
		<category><![CDATA[Software Developer]]></category>
		<category><![CDATA[Top JavaScript Frameworks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Vuejs]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Developer]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=13548</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="5 Best JavaScript Frameworks in 2018" decoding="async" srcset="https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>JavaScipt is by far the most popular programming language now. It will definitely rank in 2018. Also, you can almost develop anything with javascript. Web application, mobile, desktop and even work with a database. Besides, it has a large community of developers and contributors. Additionally, ES6 or ECMAScript 2015 is making the JavaScript better and [&#8230;]</p>
<p>The post <a href="https://www.technig.com/best-javascript-frameworks/">Top 5 Best JavaScript Frameworks of all Time</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="5 Best JavaScript Frameworks in 2018" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018.jpg 840w, https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018-300x150.jpg 300w, https://www.technig.com/wp-content/uploads/2017/11/5-Best-JavaScript-Frameworks-in-2018-768x384.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>JavaScipt is by far the most popular programming language now. It will definitely rank in 2018. Also, you can almost develop anything with javascript. Web application, mobile, desktop and even work with a database. Besides, it has a large community of developers and contributors. Additionally, ES6 or <a href="https://en.wikipedia.org/wiki/ECMAScript" target="_blank" rel="noopener noreferrer">ECMAScript </a>2015 is making the JavaScript better and better each day. So, we have collected the top best JavaScript Frameworks. If you want to learn any framework 2018, you may want to know which is the best, most popular and easy-to-use. Therefore, we collected these 5 best frameworks.</p>
<p>Furthermore, we show the resources that you can learn these frameworks in the best ways. Plus, we will compare them with Google trend to see the trending.</p>
<h2>Best JavaScript Frameworks</h2>
<p><strong>Below are the lists of top JavaScript Frameworks that will rank in 2018. </strong></p>
<ul>
<li>Vue.js</li>
<li>React</li>
<li>Angular</li>
<li>jQuery</li>
<li>Redux</li>
</ul>
<p>These frameworks are selected based on popularity on Github, most active users, eas of use, rich features and Google trends.</p>
<figure id="attachment_13563" aria-describedby="caption-attachment-13563" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Top-Best-JavaScript-Comparison.png"><img loading="lazy" decoding="async" class="wp-image-13563 size-large" src="https://www.technig.com/wp-content/uploads/2017/11/Top-Best-JavaScript-Comparison-1024x523.png" alt="The top JavaScript Frameworks Comparison - Technig" width="1024" height="523" srcset="https://www.technig.com/wp-content/uploads/2017/11/Top-Best-JavaScript-Comparison-1024x523.png 1024w, https://www.technig.com/wp-content/uploads/2017/11/Top-Best-JavaScript-Comparison-300x153.png 300w, https://www.technig.com/wp-content/uploads/2017/11/Top-Best-JavaScript-Comparison-768x393.png 768w, https://www.technig.com/wp-content/uploads/2017/11/Top-Best-JavaScript-Comparison.png 1158w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-13563" class="wp-caption-text">The top JavaScript Frameworks Comparison &#8211; Technig</figcaption></figure>
<p><strong>Notice: </strong>The above chart is the comparison of 5 best JavaScript frameworks on Google trend. In such a manner, you may not agree with it, but it&#8217;s the Google trend search terms. So, we don&#8217;t pay too much attention to that as well. What people search on Google doesn&#8217;t determine that it&#8217;s the best. Therefore, we order these frameworks more based on <strong>user-friendly</strong>, <strong>active users</strong>, <strong>updates</strong> plus most <strong>stars</strong> on Github.</p>
<h2>Vue.js</h2>
<figure id="attachment_13578" aria-describedby="caption-attachment-13578" style="width: 300px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Vue.js-Best-JavaScript-Frameworks.png"><img loading="lazy" decoding="async" class="wp-image-13578 size-medium" src="https://www.technig.com/wp-content/uploads/2017/11/Vue.js-Best-JavaScript-Frameworks-300x300.png" alt="Vue.js - Top JavaScript Frameworks" width="300" height="300" srcset="https://www.technig.com/wp-content/uploads/2017/11/Vue.js-Best-JavaScript-Frameworks-300x300.png 300w, https://www.technig.com/wp-content/uploads/2017/11/Vue.js-Best-JavaScript-Frameworks-150x150.png 150w, https://www.technig.com/wp-content/uploads/2017/11/Vue.js-Best-JavaScript-Frameworks.png 400w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-13578" class="wp-caption-text">Vue.js &#8211; Top JavaScript Frameworks</figcaption></figure>
<p>The Vue.js is an open-source progressive JavaScript framework for building user interfaces. Vue can also function as a web application framework capable of powering advanced single-page applications. Besides, it has a lot of pre-made components. Also, one the <strong>strongest reason</strong> why it&#8217;s popular is <a href="https://www.technig.com/tag/laravel">Laravel </a>Framework. By default, Laravel comes with Vue installed. That way, most Laravel user will use it. The second reason is that Vue become popular in a short time. It was released in early 2014.</p>
<p>Additionally, it has great documentation and many other learning resources. Also, at the time of writing this article, it has 73000+ Github stars. So, if you want to learn, start with documentation or free <a href="https://laracasts.com/series/learn-vue-2-step-by-step">Laracast </a>video series.</p>
<h2>React</h2>
<figure id="attachment_13577" aria-describedby="caption-attachment-13577" style="width: 600px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/React-JavaScript-library-for-building-user-interfaces.png"><img loading="lazy" decoding="async" class="wp-image-13577 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/React-JavaScript-library-for-building-user-interfaces.png" alt="React -JavaScript library for building user interfaces" width="600" height="167" srcset="https://www.technig.com/wp-content/uploads/2017/11/React-JavaScript-library-for-building-user-interfaces.png 600w, https://www.technig.com/wp-content/uploads/2017/11/React-JavaScript-library-for-building-user-interfaces-300x84.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-13577" class="wp-caption-text">The React -JavaScript library for building user interfaces</figcaption></figure>
<p>React is a JavaScript library for building user interfaces. Also, it is maintained by Facebook, Instagram and a community of individual developers and corporations. Besides, React allows developers to create large web-applications that use data with Single Page Application. The initial release was 2013 and the author was influenced by the Angular framework. The Github repo is very active and currently, it has over 80000 stars.</p>
<p>Since it&#8217;s built by Facebook, again there are countless numbers of resources to learn. So, the documentation is a great place to start. If you want free video, check Jeffrey Ways course on React <a href="https://laracasts.com/series/do-you-react" target="_blank" rel="noopener noreferrer">here</a>.</p>
<h2>Angular</h2>
<figure id="attachment_13575" aria-describedby="caption-attachment-13575" style="width: 695px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/AngularJS-Top-JavaScript-Frameworks.png"><img loading="lazy" decoding="async" class="wp-image-13575 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/AngularJS-Top-JavaScript-Frameworks.png" alt="AngularJS - Top JavaScript Frameworks" width="695" height="185" srcset="https://www.technig.com/wp-content/uploads/2017/11/AngularJS-Top-JavaScript-Frameworks.png 695w, https://www.technig.com/wp-content/uploads/2017/11/AngularJS-Top-JavaScript-Frameworks-300x80.png 300w" sizes="(max-width: 695px) 100vw, 695px" /></a><figcaption id="caption-attachment-13575" class="wp-caption-text">The AngularJS &#8211; Top JavaScript Frameworks</figcaption></figure>
<p>AngularJS is also on the list of top JavaScript frameworks. The AngularJS is a JavaScript-based open-source front-end web application framework mainly maintained by Google. Plus, a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. So, AngularJS is the frontend part of the MEAN stack, consisting of MongoDB database, Express.js web application server framework, Angular.js itself, and Node.js server runtime environment. Also, the initial release was 2010. Though it has different versions, like angular 2, angular 4, they are almost the same. So, currently, it has over 57000+ star on Github.</p>
<p>Importantly, it has lots of resources for learning. If you want to learn it, start with <a href="https://www.w3schools.com/angular/angular_intro.asp">W3schools</a>. The second resource is learn-angular.org. Finally, if you like video, search on youtube. We could not find any complete free course.</p>
<h2>jQuery</h2>
<figure id="attachment_13576" aria-describedby="caption-attachment-13576" style="width: 736px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/jQuery-Write-less-do-more.png"><img loading="lazy" decoding="async" class="wp-image-13576 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/jQuery-Write-less-do-more.png" alt="jQuery - Top JavaScript Frameworks - Technig" width="736" height="181" srcset="https://www.technig.com/wp-content/uploads/2017/11/jQuery-Write-less-do-more.png 736w, https://www.technig.com/wp-content/uploads/2017/11/jQuery-Write-less-do-more-300x74.png 300w" sizes="(max-width: 736px) 100vw, 736px" /></a><figcaption id="caption-attachment-13576" class="wp-caption-text">jQuery &#8211; Top JavaScript Frameworks &#8211; Technig</figcaption></figure>
<p>From a very long time, jQuery has been the most used JavaScript framework. Despite all other great frameworks nowadays, you can&#8217;t escape learning jQuery. It is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML. Also, it is free, open-source software using the permissive MIT License. There are many JavaScript libraries that are based on jQuery. Therefore, you can&#8217;t stop learning. The initial release was 2006. Currently, it has over 47 stars on Github.</p>
<p>In Addition, since 2006, there have been countless numbers of blog articles and tutorials about jQuery. The best place to learn step by step is W3Schools.com. It&#8217;s not that complicated. very easy to learn and understandable even if you read the doc.</p>
<h2>Redux</h2>
<figure id="attachment_13579" aria-describedby="caption-attachment-13579" style="width: 444px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/11/Redux-Predictable-state-container-for-JavaScript-apps-.png"><img loading="lazy" decoding="async" class="wp-image-13579 size-full" src="https://www.technig.com/wp-content/uploads/2017/11/Redux-Predictable-state-container-for-JavaScript-apps-.png" alt="The Redux - Predictable state container for JavaScript apps" width="444" height="120" srcset="https://www.technig.com/wp-content/uploads/2017/11/Redux-Predictable-state-container-for-JavaScript-apps-.png 444w, https://www.technig.com/wp-content/uploads/2017/11/Redux-Predictable-state-container-for-JavaScript-apps--300x81.png 300w" sizes="(max-width: 444px) 100vw, 444px" /></a><figcaption id="caption-attachment-13579" class="wp-caption-text">The Redux &#8211; Predictable state container for JavaScript apps</figcaption></figure>
<p>Redux is an open-source JavaScript library designed for managing application state. It is primarily (but not mandatorily) used together with React. Besides, Redux is a predictable state container for JavaScript apps. It helps developers write applications that behave consistently, run in different environments and are easy to test. Well, you may not need Redux. Before start using it, the article why you may not need it. But, definitely, it&#8217;s a great framework.</p>
<p>Want to learn about it? The documentation is a great place. Besides, the creator of Redux has a video tutorial as well. You can find it <a href="https://egghead.io/lessons/react-redux-the-single-immutable-state-tree" target="_blank" rel="noopener noreferrer">here</a>.</p>
<h2>Conclusion</h2>
<p>So, we hope the article has been informative for you. Also, if you have any questions or suggestions about these top 5 best JavaScript Frameworks, feel free to comment below.</p>
<p>The post <a href="https://www.technig.com/best-javascript-frameworks/">Top 5 Best JavaScript Frameworks of all Time</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/best-javascript-frameworks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13548</post-id>	</item>
		<item>
		<title>How to Solve vue Command not found on Windows?</title>
		<link>https://www.technig.com/solve-vue-command-not-found-windows/</link>
					<comments>https://www.technig.com/solve-vue-command-not-found-windows/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Mon, 02 Oct 2017 05:30:16 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[Free Developer Software]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How to Fix]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Vuejs]]></category>
		<category><![CDATA[Vuejs Tutorials]]></category>
		<category><![CDATA[Web Designing]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=11486</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to solve vue command not found on windows" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png 840w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-768x384.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>Vuejs is by far the most popular JavaScript framework nowadays. So, if you want to build an appealing and brilliant web application, definitely you should learn Vue. Also, it&#8217;s becoming more popular day by day. The job opportunities are a lot for this framework. Besides, they have a community of great and active people who [&#8230;]</p>
<p>The post <a href="https://www.technig.com/solve-vue-command-not-found-windows/">How to Solve vue Command not found on Windows?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="420" src="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="How to solve vue command not found on windows" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows.png 840w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-300x150.png 300w, https://www.technig.com/wp-content/uploads/2017/09/How-to-solve-vue-command-not-found-on-windows-768x384.png 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>Vuejs is by far the most popular JavaScript framework nowadays. So, if you want to build an appealing and brilliant web application, definitely you should learn Vue. Also, it&#8217;s becoming more popular day by day. The job opportunities are a lot for this framework. Besides, they have a community of great and active people who can help you in anytime. So, Vue-CLI is one of the many features of <a href="https://vuejs.org/">Vue</a>. One of the most common problems that beginners face is how to install and configure it. Furthermore, you will learn how to solve Vue command not found error step by step with an example.</p>
<h2>1. What&#8217;s Vue-CLI?</h2>
<p>In the first place, you must know what&#8217;s Vue-CLI? Shortly, <a href="https://github.com/vuejs/vue-cli">Vue-CLI</a> let you install Vue applications or templates with the command line. For instance, when you install Laravel, you use a command line, so, the same case with Vue.</p>
<h2>2. How to install Vue-CLI</h2>
<p>To install Vue-CLI, you must have Nodejs and Git installed on your system. So, if you don&#8217;t have Nodejs, just go to their website and download the current version.</p>
<p>Install Vue-CLI with the following command</p>
<pre class="lang:default decode:true">npm install -g vue-cli</pre>
<p>It will install Vue-CLI globally, which according to the documentation when you install any NPM package globally, you can access it through the command line.</p>
<p>Open your command line and run the following command.</p>
<pre class="lang:default decode:true ">vue init webpack my-project</pre>
<p>The above command normally installs a demo project form Webpack, but you should get an error.</p>
<figure id="attachment_11489" aria-describedby="caption-attachment-11489" style="width: 674px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command.png"><img loading="lazy" decoding="async" class="wp-image-11489 size-full" src="https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command.png" alt="'vue' is not recognized as an internal or external command" width="674" height="243" srcset="https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command.png 674w, https://www.technig.com/wp-content/uploads/2017/09/vue-is-not-recognized-as-an-internal-or-external-command-300x108.png 300w" sizes="(max-width: 674px) 100vw, 674px" /></a><figcaption id="caption-attachment-11489" class="wp-caption-text">&#8216;vue&#8217; is not recognized as an internal or external command</figcaption></figure>
<p>Or your error might be list Vue command not found.</p>
<h2>How to Solve Vue command not found</h2>
<p>In order to solve this problem, you should add the Vue path to your environment variable manually. So, here is how you can do that.</p>
<ul>
<li>Press Win + R</li>
<li>Type &#8220;<strong>control sysdm.cpl,,3</strong>&#8221; and press enter</li>
<li>Press N to open environment variables.</li>
<li>Select the path and click Edit.</li>
<li>Click new to add a new path.</li>
<li>Paste the path to NPM folder in your AppData.</li>
<li>Click OK for all windows and you are done.</li>
</ul>
<p>NPM path is normally in the following folder. Just change your username on your system.</p>
<pre class="lang:default decode:true ">C:\Users\UserName\AppData\Roaming\npm</pre>
<p>Your show hidden files option must be on the view this files.</p>
<figure id="attachment_11490" aria-describedby="caption-attachment-11490" style="width: 1024px" class="wp-caption aligncenter"><a href="https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path.png"><img loading="lazy" decoding="async" class="wp-image-11490 size-large" src="https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-1024x668.png" alt="Add new windows env path" width="1024" height="668" srcset="https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path.png 1024w, https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-300x196.png 300w, https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-768x501.png 768w, https://www.technig.com/wp-content/uploads/2017/09/Add-new-windows-env-path-210x136.png 210w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption id="caption-attachment-11490" class="wp-caption-text">Add new windows env path</figcaption></figure>
<p>You are done now. So, this time if you open the command line and type the following command, it should install the Webpack demo template in the current directory.</p>
<pre class="lang:default decode:true">vue init webpack my-project</pre>
<p>After installing, you can run the following command to open the project in the browser.</p>
<pre class="lang:default decode:true ">npm run dev</pre>
<p>So, it will run a server in the following URL</p>
<pre class="lang:default decode:true ">http://localhost:8080/#/</pre>
<h2>Conclusion</h2>
<p>All in all, it was that easy. Besides learning what&#8217;s Vue-CLI, you learned how to install it from the command line. So, if you have any questions or problems related to how to solve Vue command not found, feel free to comment it below.</p>
<p>The post <a href="https://www.technig.com/solve-vue-command-not-found-windows/">How to Solve vue Command not found on Windows?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/solve-vue-command-not-found-windows/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">11486</post-id>	</item>
		<item>
		<title>A Beginner Guide to Learn Vuejs Framework</title>
		<link>https://www.technig.com/introduction-learn-vuejs-framework/</link>
					<comments>https://www.technig.com/introduction-learn-vuejs-framework/#respond</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Thu, 10 Mar 2016 06:00:10 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[JavaScript Framework]]></category>
		<category><![CDATA[Vuejs]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=6356</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>Vue is a new JavaScript framework. In 2016, you will see vuejs everywhere. It&#8217;s easy to use and fan to learn vuejs framework. With vuejs you can make friendly, flexible and amazing web applications. In this tutorial we will introduce you to the basic of this framework, and in future articles you will see some [&#8230;]</p>
<p>The post <a href="https://www.technig.com/introduction-learn-vuejs-framework/">A Beginner Guide to Learn Vuejs Framework</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>Vue is a new JavaScript framework. In 2016, you will see vuejs everywhere. It&#8217;s easy to use and fan to learn vuejs framework. With vuejs you can make friendly, flexible and amazing web applications. In this tutorial we will introduce you to the basic of this framework, and in future articles you will see some more advance topic about this amazing framework. So, let&#8217;s starting exploring its amazing features.</p>
<h2>Learn Vuejs Framework</h2>
<p>To use Vuejs, just download the vuejs file from vuejs.org or github and then include it in your project. As like other JavaScript files or frameworks, you may include the vuejs file at the bottom of you page. Of course you can use any online editor like jsfiddle also, our goal is to learn vuejs.</p>
<pre class="theme:sublime-text lang:php decode:true">&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;title&gt;Intro to Vuejs&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id="demo"&gt;


&lt;/div&gt;

  &lt;script src="vue.js"&gt;  &lt;/script&gt;

  &lt;script type="text/javascript"&gt;
        new Vue({
          el:"#demo",
          data:{

          },
        });
  &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>As you can see the above code is just a simple html code with vuejs file included inside. We have a div with id of demo. at the bottom of the page, we have our custom JavaScript code. We have created an instance of vuejs class. Inside that we have an el property which the authority of the vuejs. It means, vuejs will work only on elements that are inside div with id of demo.</p>
<p>The second property is for data, you will learn about data a few minutes don&#8217;t worry. Here an example, checkout the JavaScript code as well.</p>
<p>[codepen_embed height=&#8221;268&#8243; theme_id=&#8221;0&#8243; slug_hash=&#8221;dMMqaa&#8221; default_tab=&#8221;result&#8221; user=&#8221;Hujjat&#8221;]See the Pen &lt;a href=&#8217;http://codepen.io/Hujjat/pen/dMMqaa/&#8217;&gt;Intro to vuejs &#8211; demo&lt;/a&gt; by Hujjat Nazari (&lt;a href=&#8217;http://codepen.io/Hujjat&#8217;&gt;@Hujjat&lt;/a&gt;) on &lt;a href=&#8217;http://codepen.io&#8217;&gt;CodePen&lt;/a&gt;.[/codepen_embed]</p>
<p>If you look at the html code in above demo example, you will notice that we are using a custom attributes for input fields like v-model and for paragraph we used v-show. They are called directives, but for now just know that they are custom attribute for vuejs framework.</p>
<p>we have put the data property value another object, it&#8217;s because we can have so many data in our application.</p>
<p>Explain more</p>
<p><span style="background-color: #808080;"><em>v-model </em><span style="background-color: #ffffff;">when we assign this directive to any element in the html, we can access it&#8217;s value by that name. In our example, it&#8217;s name is name. Now, if anywhere in your code you put the name inside double braces like below example, it will show whatever is the value of that directive</span></span></p>
<pre class="theme:sublime-text lang:php decode:true">&lt;p v-show="name"&gt;welcome, {{name}}&lt;/p&gt;</pre>
<p><em><span style="background-color: #808080;">v-show</span></em> : It&#8217;s like condition statements. In our example it&#8217;s not necessary to write, but we wrote it because we set a condition that: if name there is name, show the welcome text if not don&#8217;t show anything.</p>
<h2>Conclusion</h2>
<p>So, it was just the basic of vuejs introduction to learn vuejs framework. I have explain just a simple example of what vuejs can do and how amazing it&#8217;s to use in our project. I hope it has been informative for you and we will cover some more topic about vuejs in future articles.</p>
<p>The post <a href="https://www.technig.com/introduction-learn-vuejs-framework/">A Beginner Guide to Learn Vuejs Framework</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/introduction-learn-vuejs-framework/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6356</post-id>	</item>
	</channel>
</rss>
