Ripple Basic Template
A minimal Ripple application template with TypeScript and Vite.
Getting Started
-
Install dependencies:
npm install # or pnpm or yarn -
Start the development server:
npm run dev -
Build for production:
npm run build
Code Formatting
This template includes Prettier with the Ripple plugin for consistent code formatting.
Available Commands
npm run format- Format all filesnpm run format:check- Check if files are formatted correctly
Configuration
Prettier is configured in .prettierrc with the following settings:
- Uses tabs for indentation
- Single quotes for strings
- 100 character line width
- Includes the
@ripple-ts/prettier-pluginfor.ripplefile formatting
VS Code Integration
For the best development experience, install the Prettier VS Code extension and the Ripple VS Code extension.