Danny McGee cba70a62ae Single-object viewer POC (#14)
This commit implements a Sketchfab-style single-object viewer as a minimal
proof-of-concept.

### `@storyteller/studio-web`
This is a new package to house web components for interfacing with the
`@storyteller/studio` WASM library. It currently includes a single component,
`<sts-viewer />`, which is exported from `@storyteller/studio-web/viewer`.

### `react-frontend`
This is a new application intended as a proof-of-concept and testbed for React
interop with `@storyteller/studio-web`.

Web components are currently a little bit fiddly to use in a React application.
`react-frontend/src/app/studio-viewer.tsx` demonstrates how a React-idiomatic
component can be written as a thin wrapper around a web component, and
`react-frontend/src/app/app.tsx` demonstrates that wrapper component in use.
2023-12-07 15:46:32 -05:00
2023-11-10 21:07:39 -05:00
2023-12-07 15:46:32 -05:00
2023-11-10 21:07:39 -05:00
2023-12-07 15:46:32 -05:00
2023-12-07 15:46:32 -05:00
2023-11-10 21:07:39 -05:00
2023-09-27 10:44:40 -04:00
2023-09-27 10:48:41 -04:00
2023-11-10 15:51:17 -05:00
2023-09-28 23:33:08 -04:00
2023-11-22 23:05:42 -05:00
2023-11-22 23:05:42 -05:00
2023-10-04 17:57:37 -04:00
2023-12-07 15:46:32 -05:00
2023-12-07 15:46:32 -05:00
2023-09-30 00:17:20 -04:00
2023-09-27 10:48:41 -04:00
2023-09-27 10:48:41 -04:00

Storyteller Studio

Installing dependencies

Building / Running / Testing stuff

This repo is managed by Nx, a polyglot build system and monorepo framework written in TypeScript. After installing dependencies, dev tasks can be run through the Nx CLI:

npx nx <command> <project> [options]
# OR
npx nx run <project>:<command> [options]

For example, to compile the Bevy app to WebAssembly and serve it via the web frontend project, run:

npx nx serve studio-frontend

Projects are located in directories at the workspace root. The list of commands supported by a given project can be found under the target property of its project.json file, which defines the Nx configuration for that project.

The full list of options for a given command can be discovered by passing the --help flag:

npx nx <command> <project> --help
S
Description
Danny's Bevy exploration
Readme 316 MiB
Languages
Rust 59.2%
TypeScript 34.9%
SCSS 4.1%
JavaScript 1%
HTML 0.3%
Other 0.5%