0.1.0 • Published 1 year ago
@nacelle/vue v0.1.0
@nacelle/vue
Providers and composables for your Vue.js + Nacelle-powered eCommerce storefront.
Features
- Supports Vue 2.7 projects
- Compatible with
@nuxtjs/composition-api
version 0.33 or higher.
Installation
npm i @nacelle/vue
@nacelle/vue
also depends on @nacelle/client-js-sdk
. Follow those package's installation instructions before using @nacelle/vue
in your Vue.js + Nacelle-powered storefront.
Usage with Nuxt
To use this with Nuxt you'll want to make sure you're using the latest version of Nuxt v2. You can use npm i nuxt@2.x
to update to the latest version. You might also need to add this package to your build transpilation config option to make sure it works correctly. In your nuxt.config.js
you'll want to add something similar to this:
build: { transpile: [({ isLegacy }) => isLegacy && '@nacelle/vue'] },