Create a gist now

Instantly share code, notes, and snippets.

@JeffreyWay /Carousel.vue Secret
Created Apr 13, 2018

What would you like to do?
Carousel.vue example from Laracasts.
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Example</title>
</head>
<body>
<div id="app">
<carousel>
<img src="https://placeimg.com/640/480/any">
<img src="https://placeimg.com/640/480/any?2">
<img src="https://placeimg.com/640/480/any?3">
<img src="https://placeimg.com/640/480/any?4">
<img src="https://placeimg.com/640/480/any?5">
</carousel>
</div>
<script src="/js/app.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment