UNPKG

create-dynamic-app

Version:

CLI tool to generate sample applications using Dynamic's web3 authentication

60 lines (43 loc) 1.14 kB
export function generateReactReadme(appName: string): string { return `# ${appName} This project was generated with [Create Dynamic App](https://github.com/dynamic-labs/create-dynamic-app). ## Getting Started ### Set up your environment variables Copy the \`.env.example\` file to \`.env\`: \`\`\`bash cp .env.example .env \`\`\` Update the \`VITE_DYNAMIC_ENVIRONMENT_ID\` in the \`.env\` file with your own environment ID from [Dynamic Dashboard](https://app.dynamic.xyz). ### Install dependencies \`\`\`bash npm install # or yarn # or pnpm install # or bun install \`\`\` ### Development Run the development server: \`\`\`bash npm run dev # or yarn dev # or pnpm dev # or bun dev \`\`\` Open [http://localhost:5173](http://localhost:5173) to view your application in the browser. ## Available Scripts - \`dev\`: Starts the development server - \`build\`: Builds the app for production - \`preview\`: Previews the production build locally - \`lint\`: Lints the codebase ## Learn More - [Dynamic Documentation](https://docs.dynamic.xyz) - [Vite Documentation](https://vitejs.dev) - [React Documentation](https://react.dev) ` }