@ -1,15 +1,10 @@
VAPARA-VUE3
===========
## TODO
* [ ] composition API
* [ ] eslint
more [doc](doc/INDEX.md)
## Expected Features
* [ ] tailwind
* [ ] https://tailwindcss.com/docs/guides/vue-3-vite
* [ ] login/logout
* [ ] fake rest api
* [ ] i18n
@ -0,0 +1,8 @@
TODO
====
* [ ] WindyCss
@ -0,0 +1,4 @@
DOCUMENTATION
=============
to be continued...
@ -1,13 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</html>
@ -1,6 +1,6 @@
{
"name": "vapara-vue3",
"version": "0.1.0",
"version": "0.0.1",
"scripts": {
"dev": "vite",
"build": "vite build"
@ -2,4 +2,9 @@ import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
console.log("Starting vite ...")
document.title = "YOUPI"
createApp(App).mount('#app')
console.log(`main.ts loaded`)
@ -1,5 +1,5 @@
declare module "*.vue" {
import { defineComponent } from "vue";
const Component: ReturnType<typeof defineComponent>;
export default Component;
import { defineComponent } from "vue"
const Component: ReturnType<typeof defineComponent>
export default Component
}
@ -5,6 +5,8 @@
"moduleResolution": "node",
"importHelpers": true,
"isolatedModules": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"noEmit": true
@ -0,0 +1,6 @@
import pkg from './package.json'
import { execSync } from 'child_process'
const stdout = execSync("git describe --tags `git rev-list --tags --max-count=1`")
console.log(stdout)
console.log(`vite.config.js loaded ${JSON.stringify(pkg.version)}`)