Get started with petite-vue CDN
Stable version
Copied!
How to start using petite-vue CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with petite-vue CDN - cdnhub.io</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
<script src="https://cdn.cdnhub.io/petite-vue/0.4.1/petite-vue.umd.js"></script>
<style>
#app { font-family: 'Avenir', Helvetica, Arial, sans-serif; text-align: center; color: #2c3e50; margin-top: 60px; }
</style>
</head>
<body>
<div id="app">
<h1>Hello from Petite Vue!</h1>
</div>
<script>
new PetiteVue({
el: '#app',
data: {
message: 'Hello from Petite Vue!'
}
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!