0.3.2 • Published 1 year ago

@morpheme/nuxt-commerce v0.3.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

nuxt-commerce

An extensible e-commerce template powered by Nuxt.js and Morpheme UI.

Features

  • Integrated with Morpheme UI
  • Built-in Pages:
    • /
    • /products
    • /products/:id
  • Customizable via Nuxt Layer
  • Configurable via app.config.ts

Demo

Installation

npm i -D @morpheme/nuxt-commerce

Usage

Add it to the nuxt.config.ts:

export default defineNuxtConfig({
  extends: '@morpheme/nuxt-commerce',
});

Configuration

You can change the default options for commerce pages like redirect url and head options via app.config.ts.

You can checkout the default configuration in the source of this file.

Components

Checkout the list of available components here.

Pages

To customize the pages, just override the default pages by creating file in your Nuxt app with the same as the theme.

PathDescription
pages/index.vueThe home page
pages/products/index.vueThe product list page
pages/products/[id].vueThe product detail page

Authentication

Authentication is extended from @morpheme/nuxt-auth package.

Morpheme UI

Checkout the official documentation to learn more about Morpheme UI.

License

MIT

0.3.2

1 year ago

0.3.0

2 years ago

0.3.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago