vue-auth-image
Version:
Vue directive to load and display secured images
20 lines (19 loc) • 431 B
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>vue-auth-image example</title>
<style>
img {
width: 300px;
}
</style>
</head>
<body>
<div>
<img v-auth-image="'https://raw.githubusercontent.com/vuejs/art/master/vue-badge.png'">
</div>
<script src="example.build.js"></script>
</body>
</html>