Vue App

Developer
Size
2,070 Kb
Views
24,288

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 Previews

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) }) } }
})
Vue App - Script Codes
Vue App - Script Codes
Home Page Home
Developer Anoop
Username anoopjohn
Uploaded September 06, 2022
Rating 3
Size 2,070 Kb
Views 24,288
Do you need developer help for Vue App?

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!

Anoop (anoopjohn) Script Codes
Create amazing marketing copy with AI!

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!