mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 02:28:11 +08:00
Fix compiling issue broken while cleaning up last commit
This commit is contained in:
@@ -66,7 +66,7 @@ We are also focusing initial feature development on a destructive SVG vector edi
|
|||||||
|
|
||||||
## Running the code
|
## Running the code
|
||||||
|
|
||||||
The project is split clients and core libraries (which use the clients). Currently the only important client is the web frontend (`/client/web`). There's also a CLI client that may be useful for testing. The only core library so far is the Editor Core Library (`/core/editor`). The web client's Vue code lives in `/client/web/vue` and a Rust wrapper for the Editor Core Library (which exposes functions to JavaScript through bindings generated by wasm-bindgen) lives in `/client/web/wasm`.
|
The project is split clients and core libraries (which use the clients). Currently the only important client is the web frontend (`/client/web`). There's also a CLI client that may be useful for testing. The only core library so far is the Editor Core Library (`/core/editor`). The web client's Vue code lives in `/client/web/src` and a Rust wrapper for the Editor Core Library (which exposes functions to JavaScript through bindings generated by wasm-bindgen) lives in `/client/web/wasm`.
|
||||||
|
|
||||||
A good starting point for learning about the code structure and architecture is reading the [documentation](docs/index.md).
|
A good starting point for learning about the code structure and architecture is reading the [documentation](docs/index.md).
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"types": [],
|
"types": [],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": [
|
"@/*": [
|
||||||
"vue/*"
|
"src/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lib": [
|
"lib": [
|
||||||
@@ -26,10 +26,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"vue/**/*.ts",
|
"src/**/*.ts",
|
||||||
"vue/**/*.d.ts",
|
"src/**/*.d.ts",
|
||||||
"vue/**/*.tsx",
|
"src/**/*.tsx",
|
||||||
"vue/**/*.vue",
|
"src/**/*.vue",
|
||||||
"tests/**/*.ts",
|
"tests/**/*.ts",
|
||||||
"tests/**/*.tsx"
|
"tests/**/*.tsx"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ The main modules of the project architecture are outlined below. Some parts desc
|
|||||||
|
|
||||||
- **Web frontend**: `/client/web/`
|
- **Web frontend**: `/client/web/`
|
||||||
Initial GUI for Graphite that will eventually be replaced by a native GUI implementation
|
Initial GUI for Graphite that will eventually be replaced by a native GUI implementation
|
||||||
- **Vue web app**: `vue/`
|
- **Vue web app**: `src/`
|
||||||
Imports the WASM code and uses Vue props to customize and reuse most GUI components
|
Imports the WASM code and uses Vue props to customize and reuse most GUI components
|
||||||
- **Rust WebAssembly wrapper**: `wasm/`
|
- **Rust WebAssembly wrapper**: `wasm/`
|
||||||
Wraps the Editor Core Library and provides an API for the web app to use unburdened by Rust's complex data types that are not supported by WASM
|
Wraps the Editor Core Library and provides an API for the web app to use unburdened by Rust's complex data types that are not supported by WASM
|
||||||
|
|||||||
Reference in New Issue
Block a user