fullcart
Version:
Add stripe checkout to any website
14 lines (11 loc) • 346 B
text/typescript
import { logger } from '@nanostores/logger'
import { computed } from 'nanostores'
import { buildCart } from '../utils/buildCart'
import { config } from './config'
import { customer } from './customer'
export const cart = computed([config, customer], (config, customer) =>
buildCart(config, customer)
)
let destroy = logger({
Cart: cart,
})