{"id":23691,"date":"2024-05-17T11:48:00","date_gmt":"2024-05-17T04:48:00","guid":{"rendered":"https:\/\/jakarta.telkomuniversity.ac.id\/quick-tutorial-on-understanding-vue-js-basics-for-beginners\/"},"modified":"2024-09-14T12:17:33","modified_gmt":"2024-09-14T05:17:33","slug":"quick-tutorial-on-understanding-vue-js-basics-for-beginners","status":"publish","type":"post","link":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/quick-tutorial-on-understanding-vue-js-basics-for-beginners\/","title":{"rendered":"Quick Tutorial on Understanding Vue JS Basics for Beginners"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h1 style=\"text-align: center\" class=\"vc_custom_heading vc_do_custom_heading\" >Quick Tutorial on Understanding Vue JS Basics for Beginners<\/h1><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">One of the most popular and easy-to-learn JavaScript frameworks available today is Vue JS. Vue JS provides developers with an easy-to-use, versatile, and intuitive way to create dynamic and interactive online applications. We will cover the basics of Vue.js and how to get started with this framework in this tutorial.  <\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h2 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >What is Vue JS<\/h2><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-300x300.webp\" class=\"vc_single_image-img attachment-medium\" alt=\"vue js\" title=\"WhatsApp-Image-2024-05-13-at-10.42.49\" srcset=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-300x300.webp 300w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-1024x1024.webp 1024w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-150x150.webp 150w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-768x768.webp 768w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-1536x1536.webp 1536w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49-92x92.webp 92w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/WhatsApp-Image-2024-05-13-at-10.42.49.webp 1600w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">Vue.js is a Javascript framework for creating user interfaces and single-page applications (SPAs). Vue.js is also known as Vue and is spelled like the word view (\/vju:\/). Unlike some other monolithic frameworks, this one is designed from the ground up to be gradually adopted.   <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In addition, this framework provides a number of features such as component-based architecture, reactive data binding, and tools for building scalable applications. Since rendering and element composition are the core capabilities, users need routing, state management, templates, build tools, and other tools to design more complex applications. Therefore, web developers looking for a lightweight and user-friendly solution to build high-quality online applications are attracted to Vue.js.  <\/span><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h3 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >How to Install Vue JS<\/h3><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The first thing you should do before learning Vue.js is to install Node.js. To download the Node JS installer file you can  <\/span><a href=\"https:\/\/nodejs.org\/en\/download\/\"><span style=\"font-weight: 400;\">Click here<\/span><\/a><span style=\"font-weight: 400;\">.<br \/>\nSesuaikan tipe sistem operasi Windows Anda apakah menggunakan 64bit atau 32bit.<br \/>\nKlik salah satu dan tunggu hingga proses download selesai.  <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next, check whether your Node JS installation was successful or not. The way to do this is by using cmd. Open cmd by clicking the windows button then type cmd in the search menu. Right-click on the Command Prompt application then select Run as Administrator. Then, enter the following command to ensure your Node JS installation process is successful:     <\/span><span style=\"font-weight: 400;\">node -v<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">To avoid errors during the<\/span> <span style=\"font-weight: 400;\">Vue.js<\/span> <span style=\"font-weight: 400;\">installation process, clear the cache on cmd using the following command:<\/span> <span style=\"font-weight: 400;\">npm cache clean &#8211;force<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next, install<\/span> <span style=\"font-weight: 400;\">Vue.js<\/span> <span style=\"font-weight: 400;\">using the following command:<\/span> <span style=\"font-weight: 400;\">npm install -g @vue\/cli Make sure that during the install process you are connected to the internet. Because, the install process requires downloading files from the Vue.js resource in Node JS. Wait until the installation process is complete, as shown in the image below:   <\/span><\/li>\n<\/ol>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"960\" height=\"175\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/proses-instalasi-vue-js-selesai.webp\" class=\"vc_single_image-img attachment-large\" alt=\"install vue js\" title=\"proses-instalasi-vue-js-selesai\" srcset=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/proses-instalasi-vue-js-selesai.webp 960w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/proses-instalasi-vue-js-selesai-300x55.webp 300w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/proses-instalasi-vue-js-selesai-768x140.webp 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><h4 style=\"text-align: left\" class=\"vc_custom_heading vc_do_custom_heading\" >Create a Vue JS Project<\/h4><\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After completing the<\/span> <span style=\"font-weight: 400;\">Vue.js <\/span><span style=\"font-weight: 400;\">installation, it would not feel complete if you did not immediately try to create a project using it.<\/span> <span style=\"font-weight: 400;\">Vue.js. First, go to the directory where you will store your Vue.js project. In this guide, we use the Local Disk directory: D.  <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next, to create a new Vue.js project, simply run the following command into your Command Prompt. myproject is the folder name where the Vue.js project is stored, you can also use another name:  <\/span><span style=\"font-weight: 400;\">vue create myproject<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Then, you will be asked to choose the installation option on the Vue CLI. There are two options, default and manually. In this guide, we use the default option. Because to adjust the project settings according to    <\/span><span style=\"font-weight: 400;\">Vue.js<\/span><span style=\"font-weight: 400;\">.<br \/>\nLalu tekan ENTER. <\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After that the project creation process will run. You need to wait until this process is complete. If the project creation process is successful, a message will appear   <\/span><b>Successfully created project \u201cmyproject\u201d.<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Next you need to enter the project directory. Use the command that was given when the installation process was complete. In this guide using the command:   <\/span><span style=\"font-weight: 400;\">cd myprojects<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once you are inside the project directory, run<\/span> <span style=\"font-weight: 400;\">Vue.js<\/span> u<span style=\"font-weight: 400;\">sing the following command:<\/span> <span style=\"font-weight: 400;\">npm run serve<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Finally open your browser and access one of the IP \/ localhost in the image above. Then you will get a page view from Vue.js. <\/li>\n<\/ol>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div  class=\"wpb_single_image wpb_content_element vc_align_center wpb_content_element\">\n\t\t\n\t\t<figure class=\"wpb_wrapper vc_figure\">\n\t\t\t<div class=\"vc_single_image-wrapper   vc_box_border_grey\"><img decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/halaman-utama-vue-js-1024x574-1.webp\" class=\"vc_single_image-img attachment-large\" alt=\"vue js\" title=\"halaman-utama-vue-js-1024x574\" srcset=\"https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/halaman-utama-vue-js-1024x574-1.webp 1024w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/halaman-utama-vue-js-1024x574-1-300x168.webp 300w, https:\/\/jakarta.telkomuniversity.ac.id\/wp-content\/uploads\/2024\/05\/halaman-utama-vue-js-1024x574-1-768x431.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n\t\t<\/figure>\n\t<\/div>\n<\/div><\/div><\/div><\/div><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t<p><span style=\"font-weight: 400;\">After that you can do the front-end development process of the website or application. <\/span>Also read: <a href=\"https:\/\/jakarta.telkomuniversity.ac.id\/en\/angular-js-a-javascript-framework-that-has-many-enthusiasts\/\">Angular JS, JavaScript Framework That Has Many Enthusiasts<\/a><\/p>\n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"Quick Tutorial on Understanding Vue JS Basics for Beginners One of the most popular and easy-to-learn JavaScript frameworks available today is Vue JS. Vue JS provides developers with an easy-to-use, versatile, and intuitive way to create dynamic and interactive online applications. We will cover the basics of Vue.js and how to get started with this [...]","protected":false},"author":32,"featured_media":21116,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[685],"tags":[782,781,780],"class_list":["post-23691","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education","tag-definisi-vue-js-en","tag-install-vue-js-en","tag-vue-js-en"],"_links":{"self":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/posts\/23691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/comments?post=23691"}],"version-history":[{"count":0,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/posts\/23691\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/media\/21116"}],"wp:attachment":[{"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/media?parent=23691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/categories?post=23691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jakarta.telkomuniversity.ac.id\/en\/wp-json\/wp\/v2\/tags?post=23691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}