diff --git a/.eslintrc.yml b/.eslintrc.yml index 1f8254c..113385b 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -6,4 +6,7 @@ extends: - 'plugin:vue/base' - '@vue/typescript' - prettier -rules: {} +rules: + 'no-console': + - error + - allow: ['warn', 'error'] diff --git a/.vscode/settings.json b/.vscode/settings.json index 0af67d2..c4f57e3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,13 @@ "vetur.validation.templateProps": true, "vetur.validation.interpolation": true, "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "esbenp.prettier-vscode", + "cSpell.words": [ + "Astrologia", + "Kamal", + "Kamalātmikā", + "Yantra", + "protovue", + "tmik" + ] } diff --git a/doc/INDEX.md b/doc/INDEX.md index 3b739a9..c0f07fc 100644 --- a/doc/INDEX.md +++ b/doc/INDEX.md @@ -1,19 +1,29 @@ DOCUMENTATION ============= +First Initialization +--------------------- -## First Initialization +```bash +npm init vite-app protovue +cd protovue +npm install +npm install typescript + > ... + > tsconfig.json, shims-vue.d.ts, main.ts, index.html +see [vue3+typescript+vite](https://stackoverflow.com/questions/63724523/how-to-add-typescript-to-vue-3-and-vite-project#64438876) +npm run dev +``` +Logo +----- -* npm init vite-app vapara-vue3 -* cd vapara-vue3 - * npm install - * npm install typescript - * ...tsconfig.json, shims-vue.d.ts, main.ts, index.html - * see [vue3+typescript+vite](https://stackoverflow.com/questions/63724523/how-to-add-typescript-to-vue-3-and-vite-project#64438876) - * npm run dev +inspired by [Astrologia: Yantra de Śrī Kamalātmikā Devī](https://sriganesa.blogspot.com/2014/03/yantra-de-sri-kamalatmika-devi.html) -## Logo +Hints +----- + +### Vue3/Typescript + +* use defineComponent for Component +* console.log not accepted except warn and error -inspired by -Astrologia: Yantra de Śrī Kamalātmikā Devī -https://sriganesa.blogspot.com/2014/03/yantra-de-sri-kamalatmika-devi.html \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 8221f5b..ce53715 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,19 +1,23 @@