♻️ Move 'src-vue' directory to git submodule

This commit is contained in:
KaKi87 2022-03-02 15:10:27 +01:00
parent 993d9b8e79
commit 7e9f684026
5 changed files with 4 additions and 38 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "src-vue"]
path = src-vue
url = https://git.kaki87.net/KaKi87/template-vue3-parcel2-src.git

1
src-vue Submodule

@ -0,0 +1 @@
Subproject commit 3e0a19bee7cb276c1e9a16ae111226f7aab39f67

View File

@ -1,7 +0,0 @@
<script>
export default {};
</script>
<template class="App">
<p>Hello, World !</p>
</template>

View File

@ -1,19 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Content-Security-Policy" content="script-src-elem 'self'; script-src 'unsafe-eval';">
<title>vue3-parcel2</title>
<script defer src="./main.js" type="module"></script>
<style>
@import '../node_modules/destyle.css/destyle.min.css';
:root {
color-scheme: dark;
}
</style>
</head>
<body class="App"></body>
</html>

View File

@ -1,12 +0,0 @@
if(process.env.NODE_ENV === 'development'){
globalThis.__VUE_OPTIONS_API__ = true
globalThis.__VUE_PROD_DEVTOOLS__ = false;
}
import { createApp } from 'vue';
import App from './components/App.vue';
const app = createApp(App);
app.mount('.App');