Skip to main content
Module

x/vno/example/build_vue2_example.js

a build tool for compiling and bundling Vue single-file components
Go to Latest
File
/* eslint-disable *//* eslint-disable prettier/prettier */// deno-lint-ignore-fileimport Vue from "https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.esm.browser.js";
const HelloVno = Vue.component("hello-vno", { template: /* html */ ` <div class="hello"> <h1>{{ msg }}</h1> <p> <br /> </p> <h3> <a href="https://vno.land" target="_blank" rel="noopener">vno.land</a> & <a href="https://github.com/oslabs-beta/vno" target="_blank" rel="noopener"> github </a> </h3> <ul> <br /> </ul> </div>`, name: 'hello-vno', props: { msg: String, },});
const App = new Vue({ template: /* html */ ` <div id="app"> <img src="https://svgshare.com/i/SNz.svg" alt="image" border="0" width="450" height="450" /> <HelloVno msg="you are building: your project with vno" /> </div>`, name: 'app', components: {HelloVno}});
App.$mount("app")