- Vue.js Quick Start Guide
- Ajdin Imsirovic
- 274字
- 2021-06-24 18:23:53
The quickest way to start using Vue2
In the last decade, a lot of the tools for web development have moved to the web, so let's go with the flow and start a new pen on http://codepen.io/.
Once you navigate your browser to https://codepen.io, you'll be greeted with the following screen:

Click on the Create dropdown (in the main navigation, in the top-right area of the screen), and then click New Pen. Once you do, you will see the default editor setup:

Next, click the Settings button in the top right of the screen, and in the popup that appears choose JavaScript:

Next, in the Quick-add drop-down field, select the Vue option. Once you do, the first input will be filled out with the current minified version of Vue which is served from the Cloudflare CDN, or, more specifically, from this link: https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.13/vue.min.js.
That's it! We're ready to start using Vue2 in our Codepen project.
One thing to understand about Vue is that it makes our HTML dynamic. This is achieved by adding mustache syntax. This syntax is very easy to understand. We simply insert it inside an HTML element. For example, we can add mustache syntax to an h1 tag like this:
<h1>{{ heading1 }}</h1>
So, let's go over how this works in detail. Feel free to work on your own pen or see the example here: https://codepen.io/AjdinImsirovic/pen/rKYyvE.
- EJB 3.1從入門到精通
- Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)
- 信息通信網(wǎng)絡(luò)建設(shè)安全管理概要2
- 面向云平臺(tái)的物聯(lián)網(wǎng)多源異構(gòu)信息融合方法
- 通信簡(jiǎn)史:從信鴿到6G+
- 6G新技術(shù) 新網(wǎng)絡(luò) 新通信
- 物聯(lián)網(wǎng)工程導(dǎo)論(第3版)
- 局域網(wǎng)組成實(shí)踐
- Python API Development Fundamentals
- Architecting Data:Intensive Applications
- 加密與解密實(shí)戰(zhàn)全攻略
- 目標(biāo)跟蹤中的群智能優(yōu)化方法
- Oracle ADF Faces Cookbook
- 5G與車聯(lián)網(wǎng):基于移動(dòng)通信的車聯(lián)網(wǎng)技術(shù)與智能網(wǎng)聯(lián)汽車
- Recurrent Neural Networks with Python Quick Start Guide