A simplified SUI Vue3 prototyping environment for Platform Property, based on the ux-prototypes-sui setup.
- Install dependencies:
npm install- Start the development server:
npm run devThe app will be available at http://localhost:3003
pp-proto/
├── src/
│ ├── plugins/
│ │ └── global-components.js # Globally registered SUI components
│ ├── shared/
│ │ └── styles/ # Global styles
│ ├── App.vue # Main app with navigation
│ └── main.js # App entry point
├── index.html
├── package.json
└── vite.config.js
The app loads directly into the Channels Plus prototype with full navigation. Edit src/App.vue to modify the interface.
The prototype includes a complete implementation of the Channels Plus interface with:
- Performance: Metrics widgets showing bookings, revenue, and ADR with performance cards
- Room Rates: Filter controls and room rate management with checkboxes
- Setup: Configuration cards for channel connections, rate settings, and inventory
- Special Offers: Table view with offer management and status filters
- Optimise: Recommended actions list with apply/dismiss options
All tabs use existing SUI components without custom styling.
The following SUI components are globally registered and available without imports:
SmButtonSmBadgeSmCard,SmCardContent,SmCardActionsSmIconSmTooltipSmTagSmTabs,SmTabSmPageTitleSmList,SmListItemSmHelpCardSmHintCardSmDividerSmAccordionSmTableSmBanner
SmFormSmInputSmFormGroupSmSelectSmCheckboxSmSwitchSmRadioGroup,SmRadio
SmAsideSmAppHeader,SmAppHeaderLinkSmHorizontalNav,SmHorizontalNavItemSmNav,SmNavItemSmVerticalNav,SmVerticalNavSection,SmVerticalNavItemSmPropertyMenuSmUserMenu
To add more components, edit src/plugins/global-components.js
The following import aliases are configured:
@- points tosrc/@sui- points to SUI core components@sui-icons- points to SUI iconslodash- auto-resolves tolodash-es
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build