A modern, full-featured Wix Astro template built with React, TypeScript, and Tailwind CSS. This template provides a solid foundation for building dynamic, interactive websites with Wix's powerful ecosystem.
- Astro Framework - Modern static site generator with server-side rendering
- React Integration - Full React support with JSX components
- TypeScript - Type-safe development experience
- Tailwind CSS - Utility-first CSS framework with custom components
- Wix Integration - Seamless integration with Wix services and APIs
- Modern UI Components - Radix UI components with custom styling
- Authentication - Built-in member authentication and protected routes
- CMS Integration - Content management system integration
- Client-side Routing - React Router for seamless navigation
- Responsive Design - Mobile-first responsive design
- Testing - Vitest testing framework setup
- Development Tools - ESLint, TypeScript checking, and more
- Framework: Astro 5.8.0
- Frontend: React 18.3.0
- Styling: Tailwind CSS 3.4.14
- Language: TypeScript 5.8.3
- UI Components: Radix UI
- State Management: Zustand
- Forms: React Hook Form with Zod validation
- Testing: Vitest
- Build Tool: Vite
- Deployment: Cloudflare
- Node.js (version 18 or higher)
- npm or yarn package manager
- Wix account and site
-
Install dependencies:
npm run install-template
-
Set up environment variables:
npm run env
-
Start development server:
npm run dev
The development server will start and you can view your site at http://localhost:4321.
main/
├── src/
│ ├── components/ # React components
│ │ ├── ui/ # Reusable UI components
│ │ ├── Head.tsx # Page head component
│ │ └── Router.tsx # Routing component
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions
│ ├── pages/ # Astro pages
│ └── styles/ # Global styles
├── integrations/ # Wix integrations
│ ├── cms/ # CMS integration
│ └── members/ # Member authentication
├── public/ # Static assets
└── eslint-rules/ # Custom ESLint rules
This template includes a comprehensive set of UI components built with Radix UI and styled with Tailwind CSS:
- Layout: Accordion, Collapsible, Tabs, Sheet
- Forms: Input, Select, Checkbox, Radio Group, Switch
- Navigation: Navigation Menu, Menubar, Breadcrumb
- Feedback: Alert, Toast, Progress, Skeleton
- Overlays: Dialog, Popover, Tooltip, Hover Card
- Data Display: Table, Card, Badge, Avatar
- Interactive: Button, Toggle, Slider, Command
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run release- Release to Wixnpm run env- Pull environment variablesnpm run check- Type check with Astronpm run test:run- Run testsnpm run install-template- Install dependencies
The project includes Vitest for testing:
npm run test:runThe template is built with a mobile-first approach and includes:
- Responsive breakpoints
- Touch-friendly interactions
- Optimized images
- Flexible layouts
The template is configured for deployment on Cloudflare:
npm run build- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
For support and questions:
- Check the Wix Developer Documentation
- Review the Astro Documentation
Built with ❤️ using Wix Vibe, Astro, and modern web technologies.