add vue template

This commit is contained in:
2020-01-16 21:11:59 +01:00
parent 3bd332f52a
commit e6c447a4b6
9 changed files with 155 additions and 1 deletions

View File

@ -0,0 +1,2 @@
> 1%
last 2 versions

View File

@ -0,0 +1 @@
module.exports = { presets: [ '@vue/cli-plugin-babel/preset' ] };

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>html</title>
</head>
<body>
<noscript>
<strong>We're sorry but html doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

View File

@ -0,0 +1,20 @@
<template>
<div id="app">
<comp />
</div>
</template>
<script>
import comp from './components/comp.vue';
export default {
name: 'App',
components: { comp }
};
</script>
<style>
.hidden {
display: none;
}
</style>

View File

@ -0,0 +1,14 @@
<template>
<div />
</template>
<script>
export default {
name: 'Comp',
props: {},
data: () => ({ })
};
</script>
<style scoped>
</style>

View File

@ -0,0 +1,9 @@
// @ts-nocheck
/* eslint-disable */
import Vue from 'vue';
import App from './App.vue';
Vue.config.productionTip = false;
new Vue ({ render: (h) => h (App) })
.$mount ('#app');