Skip to content

Latest commit

 

History

History
 
 

simple-fluidobject-embed

@fluid-example/simple-fluidobject-embed

An example of how to embed another Fluid object. Simple Fluid Object Embed is a Container, with a default Fluid object that creates and loads the @fluid-example/clicker Fluid object.

Getting Started

You can run this example using the following steps:

  1. Run npm install and npm run build:fast -- --nolint from the FluidFramework root directory. a. For an even faster build, you can add the package name to the build command, like this: npm run build:fast -- --nolint @fluid-example/simple-fluidobject-embed
  2. Run npm run start from this directory (examples/data-objects/simple-fluidobject-embed) and open http://localhost:8080 in a web browser to see the app running.

Data model

Simple Fluid Object Embed uses the following distributed data structures:

  • SharedDirectory - root