Browse Source

agplv3 licence support

master
pvincent 4 years ago
parent
commit
94c01525a5
  1. 0
      README.md
  2. 12
      TODO.md
  3. 1
      package.json
  4. 9
      src/App.vue
  5. 3
      src/shims-vue.d.ts
  6. 1
      vite.config.ts

0
README → README.md

12
TODO → TODO.md

@ -1,23 +1,25 @@
TODO
====
## ARCHITECTURE
## ARCHI
* [x] vite + vue3
* [x] vite + vue3 (up-to-date)
* [x] typescript suppport
* [x] codium debug (Firefox, Chromium)
* [x] git version control awareness
* [x] eslint
* [x] licence support
* [ ] composition API
* [ ] WindyCss
* [ ] fake rest api
* [ ] i18n
## FEATURE
## FEATURES
* [ ] login/logout
* [ ] grab products, categories and images from Dolibarr's API
* [ ] parallelization
* [ ] scheduled action
* [ ] cache for images
* [ ] login/logout
* [ ] basket

1
package.json

@ -1,6 +1,7 @@
{
"name": "vapara-vue3",
"version": "0.0.14",
"origin": "https://git.artcode.re/pvincent/vapara-vue3",
"scripts": {
"dev": "vite",
"build": "vite build",

9
src/App.vue

@ -6,7 +6,13 @@
>
<HelloWorld :msg="title" />
<br>
version: {{ version }}
AGPLv3 :
<a
:href="origin"
alt="origin"
>
{{ version }}
</a>
</template>
<script lang="ts">
@ -20,6 +26,7 @@ export default {
return {
title: APP_TITLE,
version: APP_VERSION,
origin: APP_ORIGIN,
};
},
};

3
src/shims-vue.d.ts

@ -11,4 +11,5 @@ declare module "*.vue" {
/* declare const which helps leveraging visibility of defined constants, loaded from `main.ts` file */
declare const APP_VERSION: string
declare const APP_TITLE: string
declare const APP_TITLE: string
declare const APP_ORIGIN: string

1
vite.config.ts

@ -7,6 +7,7 @@ export default {
define: {
APP_TITLE: JSON.stringify(pkg.name),
APP_VERSION: JSON.stringify(buildVersion()),
APP_ORIGIN: JSON.stringify(pkg.origin),
}
}

Loading…
Cancel
Save