You can run this example using the following steps:
- Enable corepack by running
corepack enable. - Run
pnpm installandpnpm run build:fast --nolintfrom theFluidFrameworkroot directory.- For an even faster build, you can add the package name to the build command, like this:
pnpm run build:fast --nolint @fluid-example/bubblebench-baseline
- For an even faster build, you can add the package name to the build command, like this:
- Run
pnpm startfrom this directory and open http://localhost:8080 in a web browser to see the app running. - If you want to run the app against SharePoint, follow the instructions in webpack-fluid-loader to get auth credentials. Then run
pnpm start:spoorpnpm start:spo-dfand open http://localhost:8080 like above.
npm run test:jestFor in browser testing update ./jest-puppeteer.config.js to:
launch: {
dumpio: true, // output browser console to cmd line
slowMo: 500,
headless: false,
},