From b53ec237a7ae056532625729c1e79172099879d6 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 2 Mar 2021 17:20:04 +0400 Subject: [PATCH] store init --- .vscode/settings.json | 32 +++++++++++++----------- README.md | 6 +---- TODO.md | 6 ++--- src/App.vue | 2 +- src/{ => assets}/index.css | 0 src/components/Basket.vue | 29 +++++++++++++--------- src/main.ts | 8 +++--- src/shims-vue.d.ts | 8 +++--- src/stores/global.ts | 7 ++++++ vite.config.ts | 50 +++++++++++++++++++++----------------- 10 files changed, 82 insertions(+), 66 deletions(-) rename src/{ => assets}/index.css (100%) create mode 100644 src/stores/global.ts diff --git a/.vscode/settings.json b/.vscode/settings.json index c4f57e3..aa5d60d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,16 +1,20 @@ { - "eslint.enable": true, - "vetur.validation.template": false, - "vetur.validation.templateProps": true, - "vetur.validation.interpolation": true, - "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "cSpell.words": [ - "Astrologia", - "Kamal", - "Kamalātmikā", - "Yantra", - "protovue", - "tmik" - ] + "eslint.enable": true, + "vetur.validation.template": false, + "vetur.validation.templateProps": true, + "vetur.validation.interpolation": true, + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "cSpell.enableFiletypes": ["markdown", "!typescript", "!json"], + "cSpell.words": [ + "Astrologia", + "Codium", + "Dolibarr's", + "Kamal", + "Kamalātmikā", + "Yantra", + "protovue", + "tmik", + "windi" +] } diff --git a/README.md b/README.md index 9dbc411..ac876dc 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,7 @@ npm run dev HOW TO DEBUG ------------ -``` -# open codium IDE -codium . -# , then launch Debug in Firefox (or Chromium) -``` +Codium / Debug in Firefox HOW TO DEPLOY ------------- diff --git a/TODO.md b/TODO.md index 418d3e0..44d6dba 100644 --- a/TODO.md +++ b/TODO.md @@ -5,7 +5,7 @@ ARCHITECTURE ------------ * [x] vite + vue3 (up-to-date) -* [x] typescript suppport +* [x] typescript support * [x] codium debug (Firefox, Chromium) * [x] git version control awareness * [x] eslint @@ -18,15 +18,13 @@ ARCHITECTURE * [ ] axios * [ ] store solution * [ ] vue3 handcraft solution OR - * [ ] [pinia](https://github.com/posva/pinia) - * [ ] [devtool-v3](https://github.com/vuejs/vue-devtools/releases) FEATURES -------- * [ ] grab products, categories and images from Dolibarr's API - * [ ] parallelization + * [ ] parallelize * [ ] scheduled action * [ ] cache for images * [ ] login/logout diff --git a/src/App.vue b/src/App.vue index ce53715..fba11f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -32,6 +32,7 @@