Overview
Origin is a headless storefront theme for Swell, a platform for building online stores. It is a universal progressive web app built with modern JavaScript and front-end tooling. Origin serves as a reference example and starter project for creating custom storefronts powered by Swell.
Features
- Built with Nuxt.js, the Vue equivalent of Next.js
- Uses Tailwind CSS, making it easy to customize the design
- Connects to a hosted git repo for syncing code and settings with your live store
- Supports custom content types and fields that can be edited in Swell’s dashboard
- Includes page templates, sections, and components for common use cases
Installation
To install Origin, follow these steps:
- Clone the project repository to your local machine and navigate to the project root.
- Add your Swell store ID, public key, and URL to the .env file.
Summary
Origin is a headless storefront theme for Swell that allows for easy customization and integration with Swell’s features. It is built with modern JavaScript and front-end tooling, making it a powerful solution for creating custom storefronts. With support for custom content types and fields, as well as pre-built templates and components, Origin provides a solid foundation for any online store.