Vue Js Part: 3 Instance Syntax

In VueJS we need to create Instance with new Vue. The syntax is given below:

var app = new Vue({
// options

Let us see a complete example with Vue Instance:




Vue Instance first has a parameter called el, so you have to put the id of your DOM element, that is, the id where you want to see the result. We put the Id named info in the el parameter here. And we have set this Id in our DOM element called div.

And the second parameter in Vue Instance is data. And as the name implies, here we have to keep the data i.e. the properties of Instance. We have three properties named first name, last name, and age.

And the last parameter of Vue Instance is the methods with which we can process the data and return a value. Here we have returned the process data of our method in my details.


.htaccess Basic

.Htaccess is a very important topic for web developers. We use .htaccess to make the web site SEO friendly, for security and to solve various problems. Many of us do not understand the search on Google htaccess and use it without understanding and many do not. The chain will be posted with htaccess. Inshallah, you don’t have to use htaccess without understanding. It will also be very helpful for those who do freelancing because there are a lot of marketplace htaccess related jobs available.

A few words about .htaccess

.htaccess is the configuration file used on the Apache webserver. .htaccess is basically an anonymous file, .htaccess is an extension. It is hidden by default. This file is usually in the root directory of the server but can be placed in a subdirectory other than the root.

If you do not see .htaccess by default in cpanel then show Hidden Files (dotfiles) when opening the file manager. Tick ​​the box. If you still don’t see it, create a file called .htaccess.

How to create a .htaccess file

A very simple matter, you can create a .htaccess file directly on Sipnell or create it on your PC and then upload it.

Made directly from cpanel:

Click on cpanel New File and enter the name (.) Dot htaccess then click on Create New File button. Became the .htaccess file.

Made on PC:

Any type of code editor software such as Notepad ++ Sublime Text Brackets (.) Must be saved with the name dot htaccess. We can also do it with the normal Notepad of Windows. When you open Notepad and save, you have to save the file name (.) Dot htaccess with Save as type: All File. The .htaccess file became busy.

How .htaccess works:

Many ask where to put the .htaccess file or when to root it; When to put in a subdirectory. To know the correct solution to this question, you need to know how .htaccess works. Simply put, we compare the way .htaccess files work with CSS. For example, if the font size of the body tag is 14 pixels, then the font size of all the paragraphs, headings or other sub-elements inside this body tag will be 14. Again, if the font size of a dic is used inside that tag, then the font size of all the elements inside that dic will be 18. The .htaccess file works in exactly the same way. If you keep the file in the root, the code of that .htaccess file will also affect the sub-directory in the root. But if you put the .htaccess file in a subdirectory/folder, it will affect the files or subdirectories of that folder.

Vue JS Part: 1

What is Vue.js?

Vue.js is an Open Source JavaScript Framework for modern and progressive user interface development. Which is very small and lightweight. It is much faster than other popular JavaScript frontend frameworks such as AngularJS and React. It is very simple to use and easy to deploy.

Everything you need to develop a modern and progressive user interface can be done by Vue. It is designed to meet all the needs of the growing future. As a web framework, it is also widely used for SPA (single page applications) development. It is rich in a number of features including data binding and event binding setup.

Evan You, a Google employee, created Vue.js in 2013 after working for Google on a number of projects using AngularJS and released it for the first time in 2014.

Vue.js – Installation and Environment Setup

There are many ways to install Vue.js. Here we will discuss a few ways.

Using the tag directly in the HTML File

If you want to install directly to the HTML File using the tag, you need to download the vue.js or vue.min.js file from this page Here the vue.js file is the development version and the vue.min.js file is the production version. Although the two files are the same, the production version is minimized and lightweight, while the development version is a little heavyweight, but will give you the benefits of debug mode and warnings during development.

Once downloaded, place the file in a folder named js in your project folder, then attach the following code to any HTML file:

Using CDN:

However, we can work with VueJS directly using CDN (content delivery network). You can apply for a CDN host ( or ( ). Can use. See the following example with CDN:

Using NPM

Recommends using VueJS NPM (NodeJS Package Manager) to create large scale and realtime applications with Vue.js. It includes other necessary tools including Browserify and Webpack. You will be able to enjoy many more benefits. To install with NPM you need to use the following command in Terminal in your Vue Project folder.


npm  install vue

Similar to CDN working in NPM Vue, all you have to do here is change the file source. See the example below:

Using the CLI (Command Line Interface) command

VueJS offers CLI facility for working in Server Environment. Also if you install VueJS Server with VueJS CLI, you don’t have to worry about any set up or configure. Everything you need for modern front-end development is pre-loaded, with the benefits of real-time, rapid development, and single-file application development. In addition, using the Vue CLI will give you the following benefits:

  • It allows us to write our HTML, CSS, and JavaScript as we wish. It also allows us to write the latest versions of our components, TypeScript, SCSS, Pug, latest versions of ECMAScript in a single file (.vue).
  • Great features of Babel, TypeScript, ESLint, PostCSS, PWA, Unit Testing, and End-to-end Testing.
  • Here you will find the default plugin system so that you can easily add common features to your project.
  • As an alternative to the command-line tool, you will get a graphical user interface called Vue UI
  • It keeps Webpack configured for us, when we create any of our applications with Webpack it bundles, minifies, and optimizes all the JavaScript files, our CSS, and our dependencies for us properly.

Vue CLI 3 Installation

Vue CLI 3 comes as an NPM package. First, you need to make sure your PC has Node.js and NPM (NodeJS Package Manager). If you want to work with Vue CLI 3, you need the latest Node.js version 8.9 or higher. If you already have Node.js installed on your PC, you can check the version of Node.js with the following command:

node -v

After checking with the above command, if you feel you need to reinstall or update, you need to go to Node.js and download the appropriate version of your OS Installer. And Node.js Package Manager (NPM) will be automatically installed when installing a newer version.

Another thing is that Vue CLI version 3 has been completely rewritten. The previous version of Vue CLI has been renamed to use vue / cli.

And so it is best to first uninstall the Node.js Package vue-cli version on your PC with the following command.

npm uninstall vue-cli -g

Once the uninstall is complete, install the Node.js Vue CLI with the following command:

npm install -g @vue/cli

Once the installation is complete, you can check the version of your Vue with the following command:

vue -version

Create Project in Vue

New projects can be created in Vue CLI 3 in two ways. One is through the vue create command in the command line, and the other is through the VU UI. First we will look at the installation in the command line:

Installation on Command Line

To create a new project in Vue, you need to give the command vue create your_project_name. Just like the following:

vue create my-vue-app-01

After running this command you will be prompted to choose either default (babel, eslint) preset or Manually select features.

We will select this option Manually select features here, then Vue will show us all the features.

Here you can use the up and down arrow keys on your keyboard to navigate the features. And you can use John to select the spacebar. For example, we will select the default feature Babel and Linter / Formater as well as the Router Feature here.

Now you will be asked whether to use the History Mode of your Router. Here we will select NO.

After selecting, when we hit again, it will show us the Configure list of our selected Linter / Formatter.

However, we will select the ESLint + Prettier option here.

  • ESLint is a tool for identifying and reporting ECMAScript / JavaScript code to perfect and avoid bugs.
  • And Prettier is the feedback code formatter. It analyzes your code and applies a consistent style to the code by rewriting it with its own rules and takes the maximum length of the line if necessary, wrapping the code.

Now we will decide whether linting will end with save or commit.

We have selected Lint On Save here, now you will get two more options, one is In dedicated config file and the other is In package.json. Now we will select this option In dedicated config file.

Lastly, you get the option to save the settings as preset.

We have selected N here (no preset will be saved), now we will get the next question, where you will use Yarn as package manager or use NPM, the question will be asked.

Then after selecting NPM as Package Manager, your new project will be created and the required dependencies will be downloaded and installed.

Finally, you will see a success message on the command line and your new project will be created.

By now your new project has been created and configured. Now you need to access your project folder with cd command. Then you can run the Web server with the following command, and start the development.

cd my-vue-app-01
npm run serve

10 Ways to Increase Website Visitors

Websites will play an important role in increasing the visitors of an organization and promoting the business. So you need to create interesting posts based on the quality of the product so that you can create a lot of interest in the product to the targeted customers.

The better you can present the quality of the products in your posts, the more likely you are to get regular customers for your product. There is no substitute for a good quality page post to promote your products to customers very quickly.

Then find out how to increase the number of visitors to your website.

1. Use post links to increase website visitors:

Links to your post will play a very important role in getting a lot of visitors to the website as many people are likely to express interest in visiting your site after reading the post. Add the site URL to the page sharing tool because a lot of site titles, descriptions, images, etc. can be found from your URL, so you have to decide what kind of text and image to use in your post based on your product.

This type of good quality text and image is very important to users because they will be interested in your product through informative and interesting text or image and usually users increase the importance of this type of image, so be sure to try to use good quality text, image. This will ensure that the images in your posts get promoted to targeted customers very quickly.

2. Use post related images and videos:

Try to share good quality pictures related to your product or products or pictures of customers who have benefited from using your product so that others are also interested in using your product. Large media sites are also attracted to these kinds of good quality pictures and videos and promote the images and videos of your posts. Try to keep the post as short but informative as possible, as users prefer to read relatively short and concise posts.

3. Emphasize user/customer feedback:

Make it a point for your audience to provide the necessary feedback or comments, subject to the quality of your product, and try to give customers the importance of their ideas to increase their loyalty to your product. For business success, it plays an important role in attracting or attracting targeted customers to your product.

For example, we can consider Udemy. It is a training platform that has been running many important pieces of training on various topics in the section for a long time and has provided the necessary feedback for their audience on their Facebook page or group. This makes it easier for users to find answers to many of their useful questions or to give them important feedback.

4. Arrange attractive discounts and promotions:

Arrange for some special offers for your product to increase online sales or attract targeted customers. Add links to pages related to your product to your website.

5. Provide interesting information:

The more interesting information you can provide about your product, the more customers will be interested in your product. So try to attract customers as much as possible by providing interesting information for the customers who are associated with your page or to increase the number of subscribers to your product. Also try to attract customers by providing interesting information about your product, content or important information about events.

6. Keep track of time:

You must keep track of when your customers are showing more interest in your product and when they are looking at your posts. For example, on any occasion or holiday, your posts are very likely to get a lot of replies. You must also try to reply to their comments in a timely manner as the sooner you can respond to their comments the better the chances of getting interested buyers for your product.

Tips: To increase your chances of selling a product in advance, try to make regular short posts to give everyone some idea about the product from about two weeks in advance so that everyone is interested in your upcoming product.

7. Create a planned calendar:

The easiest way to keep in touch with your fans is to create an accurate calendar of what products will be discussed or reviewed each week or every month. Not only will this be helpful for your regular posts, but it will also help you to better plan, engage targeted customers and get a lot of important events or news for your business. Try to associate with a few groups that will be helpful to your work or help you get customers for your product.

8. Set Post Deadline:

Schedule time to share your posts. Especially when fans of your product are online, try to share your posts so that the posts are visible to them very quickly. After sharing your post, you can easily find out which of your customers are online and located on your page. If you want, you can go to the edit page of your top page and select the activity log to determine your shared post.

9. Target your posts:

If your posts are intended for members of a particular group, you can target the post by clicking on the target icon at the bottom left of the page’s sharing tool and selecting ad targeting. You can target your post subject to consideration of spouse, relationship status, educational status, interested persons, age, location, language etc.

10. Keep an eye on the performance of your posts:

Try to stay active with regular pages to understand what you need to do to increase the engagement of posts with your customers or increase the publicity of posts. Staying connected with the page will give you a good idea about the needs of the customers and help them understand what kind of content they are most interested in. So it is very important for you to be regularly associated with the page.

The best online image optimization tools for web designers and developers

Image optimization includes image cropping, resizing, converting, compressing and even minor changes. When you are coding, you have to go to Photoshop to do this work and it is very annoying, it takes a lot of time. The good news is that from now on, you don’t have to worry and you don’t waste time. Many free tools are available online. Today’s tune is for those who already know and are using. Techtunes This is my first tune.

The best photo optimization tools


It’s the easiest tool. It can be easily cropped, resized, and edited with it. You just upload or drag the image from the computer. With one click the photo will move to a certain size. You can download it in any format. It’s completely free.

2/JPEG Optimizer

JPEG-Optimizer is a free tool for resizing and compressing. You can display your image anywhere. No need to download any extra software. Everything will be online.

3/Shrink Pictures

With Shrink pictures, you can resize images and share them directly on social networking sites. It’s very simple, if you go to this site, you can see that there is a video tutorial first. It allows you to shrink photos and give any effect.

4/Image Optimizer

Image optimizer will help you optimize gifs, animated gifs, pngs, jpegs. So that the images are loaded on your site very easily. You can also convert from one format to another.

5/Jpeg Reducer

Jpeg Reducer is a free tool that allows you to easily sync images. It will reduce the size and pixels of the image and present it beautifully.


Compressnow is a web tool that compresses images. This makes the larger image smaller. Web pages will load much faster, bandwidth will be less expensive. It can be used before emailing or posting photos on social sites.

These tools are very easy to use. Any web designer or developer can use these tools to make the most of their time. These may not be very good quality photo editing. But what we usually need for our web can be done in less time.

If you like the tune, please share it and if you think it is suitable, nominate the selected tune. If you have any questions, you can comment. Always stay with technology. Good luck with coding.

Want to create your own website? Take a look at what will be needed.


The first thing you need to create a website is a domain name, the domain is the address, suppose I want to call you, how do I call? Of course, by name, the web site is hosted on a specific IP which is difficult to remember so for easy remembering the IP is converted to a text which is known as a domain.


Then you will need hosting. Hosting is the space where the files of the website are stored. For example, you need memory to save files on your mobile. Similarly, hosting will be required to save the website files.

There are many types of hosting, such as shared hosting, VPS and dedicated server

Suppose you have a computer, you want to rent it. In other words, you rented it to someone, it means you rented the whole computer tie. This means that now if you consider it in the case of a server, he has bought a dedicated server from you. Now the person who bought it from you saw that his PC has a lot of space, RAM, and CPU resources after being unused. So he thought he would sell this unused resource to a few more people. So he created some virtual systems. Many of you have used multiple operating systems on the same PC using VMWare or Virtual Box but that is the case. He created some virtual systems and divided the whole computer into many parts. In each part, as desired, with RAM, CPU. Now those who are buying these shares from him are buying VPS i.e. Virtual Private Server. There are several types, such as OpenVZ, Xen Server, KVM, etc. But there are two main types:

  1. Dedicated resources 
  2. Shared resources

Suppose the main PC has 10 GB of RAM. You gave everyone 1 GB of RAM, but many do not need 1 GB of RAM and many need more than 1 GB. So the resource will be shared in the shared VPS. This means that if the resource is empty after your use, it can be used by other RAs. The main disadvantage of this is that even if you buy 2 GB of RAM, you will not get the full 2 ​​GB, you will get more or less. For example OpenVZ VPS

And you will get what you will be given in Dedicated VPS so others will not get a share in it or you will not get a share of others. E.g .: KVM VPS

Now suppose someone buys a VPS but sees that he doesn’t need the space given in the VPS, he is running with fewer resources. Then he divided the VPS into many more small pieces. And these are the shared hosting, it is the most sold in the world for the low price.

Some more terms:

Providers: who own and sell their own datacenters.

Reseller: Those who buy the service from the provider sell it to the general users in small portions.

What kind of service will you take?

This is a very complex question, one by one people will answer it one by one but I will do it as follows:

  • Shared hosting is best for personal blogs, small news, very small e-commerce sites, small corporate sites so that sensitive data is not exchanged. Prices are low, resources are low.
  • A fairly large site with 30-50 thousand visitors per day, a corporate site with a lot of visitors but not sensitive to normal work, medium-size eCommerce sites, news sites, or any site that does not want email or other limitations, they will take VPS.
  • Dedicated to large sites, or sites that share sensitive information.
  • Those who want to do a business of hosting, they can take reseller hosting or VPS, if the client grows, they will take dedicated.


Delete all default look from the WordPress dashboard

Today I came to share with you a plugin full of the importance of WordPress. Everyone loves WordPress because of the WordPress theme and the WordPress plugin. Because many of us know less about coding, we put a theme of our choice from the WordPress theme directory. And if you don’t like themes then there are many WordPress free and premium themed sites where there are different types of WordPress themes and plugins.

Today’s plugin is called White Label CMS, the job of this plugin is to clean the WordPress dashboard. Many of you see that a WordPress logo appears in front of your eyes as soon as you log in to WordPress. It’s not bad to see (Personally, I like the logo a lot), but what if there was a logo for your website? Notice in the picture below.

Now you understand what kind of WordPress plugin I am talking about. So after logging in, it can be seen that many of the default widgets of WordPress have appeared here. Oops, I find it quite annoying here, I don’t know if you like it, but if you like it, you can clean your WordPress dashboard with this plugin. Notice in the picture below.

In the picture above, you must have noticed that WordPress does not have the default widgets, and by changing the default logo of WordPress, the logo and name of your web site are being displayed. You can have widgets of your choice and create widgets of your choice.

Not only this, with the help of WordPress you can customize your default menus. WordPress has some default menus that you may not need, so you can cancel and add any menu you want with this plugin.

Nothing more can be expected from this plugin because as far as I know most of the WordPress users are worried about these few things and that is why I came to share this plugin with you. A.

Let’s take a look at some of the menus of White Label CMS, and don’t know what else can be done with this WordPress plugin.

This is what the plugin’s admin panel looks like.

How did everyone feel after getting acquainted with this plugin today? If it works for you, a small thank you is enough.

SEO Tools & Plugins for WordPress

Welcome everyone back to today’s post. How are you all? Hope all is well in the infinite mercy of the great Creator. Stay well and keep the person next to you well. There are many people who have opened new blogs now can’t find Tools & Plugins for SEO. Thinking about this problem, I have brought you some collection of SEO Tools & Plugins for WordPress. I hope this will be useful to many of you. Then go to work without exaggerating

Site Map Generators

  1. google xml sitemap
  2. Image Sitemap
  3. Video Sitemap
  4. HTML sitemap
  5. Wp shopping cart xml sitemap

Optimize WordPress blog

  1. All in one seo pack
  3. SEO friendly image

Link Optimization

  1. SEO Smart links
  2. No self Ping
  3. Redirection
  4. Dean’s Permalink Migration


  1. SEO data transporter
  2. Seo tools

There are 20 free SEO submission websites as free


Save your WordPress blog from Sql Injection!

It seems that hacking has come out a lot lately. If you have a WordPress blog site, you may be affected.

However, it is your responsibility to make your site secure. Go one step further in security by just adding the plugin.

How the plugin works: If you use the wrong user ID and pass from the same IP more than once at the same time, it catches it, if you do it more than once, it blocks the IP. You can set the time of the IP block as you wish.

Click on the link below to download the plugin

Then properly install the plugin from the dashboard of your WordPress blog. Now enjoy complete protection from SQL injection.

How to keep wp-content directory of WordPress site safe

Everyone says my site is safe, I also say it is safe. However, there are some issues related to the security of your site that are important for all site admins to know.

For example, if everyone can access the wp-content directory of your WordPress site, it is harmful for you. Because if there is a bug in any of the plugins you use at one time, your entire directory can be easily accessed.

So you need to keep the wp-content directory secure.

How to understand that your wp-content directory is open

Type in browser

If you can see folders and files, then everyone can access your wp-content directory.

Now how to close it

  • First login to your server / C panel, then you need to enter the index manager.
  • Now you select WebRoot (public_html / www) and click on the Go button to enter.
  • Now you click on wp-content
  • Now click on No Indexing.
  • Http://

Check again, now you won’t see like before.