Vue App
How do I make an vue app?
What is a vue app? How do you make a vue app? This script and codes were developed by Anoop on 06 September 2022, Tuesday.
Vue App - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Vue App</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container" id="app"> <div class="row"> <div class="col-sm-8"> <input type="text" class="form-control" v-model="movieName"/> </div> <div class="col-sm-4"> <input type="submit" class="btn" value="Search" v-on:click="getMovie"/> </div> <div class="col-sm-12"> <pre>{{movieList}}</pre> </div> </div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.10/vue.min.js'></script>
<script src='https://unpkg.com/[email protected]/dist/axios.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Vue App - Script Codes CSS Codes
body{ margin-top: 50px;
}
Vue App - Script Codes JS Codes
var app = new Vue({ el : '#app', data : { movieName : '', movieList : '' }, methods : { getMovie : function(){ var app = this axios.get('http://www.omdbapi.com/?s=avatar') .then(function(response){ app.movieList = response.data.Search console.log(app.movieList) }) } }
})
Developer | Anoop |
Username | anoopjohn |
Uploaded | September 06, 2022 |
Rating | 3 |
Size | 2,070 Kb |
Views | 24,288 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Hide select arrow in Firefox | 1,747 Kb |
A Pen by Anoop | 330,760 Kb |
Example | 1,707 Kb |
Pie Chart | 4,762 Kb |
Simple jQuery accordion menu | 2,089 Kb |
Price Slider | 2,985 Kb |
Vue Web App | 3,284 Kb |
Parallax Effect | 2,393 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Add This API | ThatGuySam | 2,848 Kb |
Heatmap Color Scales | Stevepepple | 2,331 Kb |
Halo 5 REQ Guide Bookmarklet | Cwacht | 3,993 Kb |
To Do List with Delete | Mattlbrody | 2,068 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Basic 3D Fullscreen Transition | Apetrov | 3,270 Kb |
Replace url via jquery | Serluk | 1,429 Kb |
Vanilla JS - A toggleClass function | Woodwork | 2,532 Kb |
Android Logo with HTML and CSS | Wifi | 2,000 Kb |
Wikipedia viewer | Chpecson | 2,865 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!