mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
README, package.json scripts, workspace
This commit is contained in:
1 parent
93293ea00b
commit
d0a12a57ae
7 files changed
+70
-7
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ dist-ssr
|
|||||||
*.local
|
*.local
|
||||||
|
|
||||||
# Editor directories and files
|
# Editor directories and files
|
||||||
.vscode/*
|
# .vscode/*
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
.idea
|
.idea
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
Vendored
+20
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"[vue]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[javascript]": {
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[jsonc]": {
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[rust]": {
|
||||||
|
"editor.tabSize": 4,
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,16 @@
|
|||||||
# Tauri + Vue + TypeScript
|
# cjdic2
|
||||||
|
|
||||||
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
Redoing <https://github.com/patarapolw/cnkan> with using as a dictionary first in mind.
|
||||||
|
|
||||||
## Recommended IDE Setup
|
## Features
|
||||||
|
|
||||||
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
|
- Yomitan dictionary zip format support
|
||||||
|
- Normalized for Japanese - Chinese interop (possibility of including Korean in the future)
|
||||||
|
- Dictionaries can be updated, e.g. latest JMdict, web-scrape Yomitan dict
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
|
||||||
|
- Project name should become `cjdic`
|
||||||
|
- Installer size, particularly for mobile (Android)
|
||||||
|
- Downloading and importing dictionaries
|
||||||
|
- Updating and syncing dictionary lists
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": ".",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "src-tauri",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"importSorter.generalConfiguration.sortOnBeforeSave": true,
|
||||||
|
"json.schemaDownload.enable": false,
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -4,6 +4,12 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"dev:desktop": "tauri dev",
|
||||||
|
"dev:mobile": "tauri dev -c src-tauri/tauri.mobile.conf.json",
|
||||||
|
"dev:android": "tauri android dev",
|
||||||
|
"build:desktop": "tauri build",
|
||||||
|
"build:android": "tauri android build --debug",
|
||||||
|
"install:android": "adb install -r src-tauri/gen/android/app/build/outputs/apk/universal/debug/app-universal-debug.apk",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc --noEmit && vite build",
|
"build": "vue-tsc --noEmit && vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
|
|||||||
@@ -13,8 +13,9 @@
|
|||||||
"windows": [
|
"windows": [
|
||||||
{
|
{
|
||||||
"title": "cjdic2",
|
"title": "cjdic2",
|
||||||
"width": 800,
|
"width": 1024,
|
||||||
"height": 600
|
"height": 768,
|
||||||
|
"maximized": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"security": {
|
"security": {
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"identifier": "cc.polv.cjdic2",
|
||||||
|
"app": {
|
||||||
|
"windows": [
|
||||||
|
{
|
||||||
|
"title": "cjdic",
|
||||||
|
"width": 450,
|
||||||
|
"height": 800,
|
||||||
|
"maximized": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user