/olvy-nuxt-example

Integrate olvy-widget in nuxt app

Primary LanguageVue

Integrate olvy-widget with Nuxt 3

This example repository shows how to add olvy's vue-widget as a plugin in your Nuxt 3 app.

Logo


You will have to add vue-widget as a plugin in your nuxt app.

As the widget is for vue, you can refer the vue-plugin section of the docs for more information.


Demo

Checkout the demo: Nuxt example on Codesandbox

NPM link

Checkout the Vue widget on NPM: Vue widget


Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

Check out the deployment documentation for more information.