${{ value.toFixed(2) }}
{{ value }} units
```
--------------------------------
### React Project Setup
Source: https://github.com/reachbrt/vueai/blob/main/packages/360-spin/MIGRATION_SUMMARY.md
Steps to set up a new React project using Vite and TypeScript. Includes commands for creating the project, building, and publishing.
```bash
npm create vite@latest react360spin -- --template react-ts
# Copy code from documentation
npm run build
npm publish
```
--------------------------------
### Angular Project Setup
Source: https://github.com/reachbrt/vueai/blob/main/packages/360-spin/MIGRATION_SUMMARY.md
Steps to set up a new Angular project and generate a library for the 360-spin component. Includes commands for creating the project, generating the library, building, and publishing.
```bash
ng new angular360spin
ng generate library ng360-spin
# Copy code from documentation
npm run build
npm publish
```
--------------------------------
### Run Demo from Demo Directory
Source: https://github.com/reachbrt/vueai/blob/main/demo/README.md
Navigate to the 'demo' directory and use npm scripts or Vite directly to run the development server. This provides more granular control over the demo environment.
```bash
cd demo
npm run dev
```
```bash
cd demo
npm start
```
```bash
cd demo
npx vite --host localhost --port 8080
```
--------------------------------
### AIClient Streaming Chat Example
Source: https://github.com/reachbrt/vueai/blob/main/MASTER_DOCUMENTATION.md
Initiate a streaming chat request with the AIClient and handle events for start, token reception, completion, and errors.
```typescript
client.chatStream(
[{ role: 'user', content: 'Write a poem' }],
{
onStart: () => console.log('Started'),
onToken: (token) => console.log(token),
onComplete: (text) => console.log('Done:', text),
onError: (error) => console.error(error)
}
);
```
--------------------------------
### Build Demo for React
Source: https://github.com/reachbrt/vueai/blob/main/QUICK_START_GUIDE.md
Command to build the demo application for React.
```bash
npm run build
```
--------------------------------
### Vue 3 Quick Start with GuidedFormContainer
Source: https://github.com/reachbrt/vueai/blob/main/packages/guided-form/README.md
Integrate the GuidedFormContainer component in a Vue 3 application. This example demonstrates setting up the form schema and using the useGuidedForm composable to manage form state and interactions.
```vue