diff --git a/README.md b/README.md index eeade2ae6..76cb80c39 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ We are also focusing initial feature development on a destructive SVG vector edi ## 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). diff --git a/client/web/tsconfig.json b/client/web/tsconfig.json index 896a44fd9..92bc9d723 100644 --- a/client/web/tsconfig.json +++ b/client/web/tsconfig.json @@ -15,7 +15,7 @@ "types": [], "paths": { "@/*": [ - "vue/*" + "src/*" ] }, "lib": [ @@ -26,10 +26,10 @@ ] }, "include": [ - "vue/**/*.ts", - "vue/**/*.d.ts", - "vue/**/*.tsx", - "vue/**/*.vue", + "src/**/*.ts", + "src/**/*.d.ts", + "src/**/*.tsx", + "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx" ], diff --git a/docs/codebase/index.md b/docs/codebase/index.md index c81c074d1..0d281cc68 100644 --- a/docs/codebase/index.md +++ b/docs/codebase/index.md @@ -18,7 +18,7 @@ The main modules of the project architecture are outlined below. Some parts desc - **Web frontend**: `/client/web/` 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 - **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