
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
vue3-carousel-nuxt
Advanced tools
This module integrates the Vue 3 Carousel component with Nuxt 3.
npx nuxi@latest module add vue3-carousel-nuxt
or with Yarn:
npx nuxi@latest module add vue3-carousel-nuxt
In your nuxt.config.ts
(or nuxt.config.js
), add the module:
export default {
modules: [
'vue3-carousel-nuxt'
]
}
With this configuration, you can now use the Carousel
, Slide
, Pagination
, and Navigation
components in your project. If you want to add a prefix to these component names, you can add a carousel
configuration to your nuxt.config.ts
:
export default {
modules: [
'vue3-carousel-nuxt'
],
carousel: {
prefix: 'MyPrefix'
}
}
This will allow you to use the components with a prefix, like so: <MyPrefixCarousel />
, <MyPrefixSlide />
, etc.
The module automatically imports the default styles of Vue 3 Carousel. If you want to customize the styles, you can override them in your own style sheets:
/* Override Carousel styles in your CSS or SCSS files */
.carousel__slide {
/* Your custom styles here */
}
Remember, you don't need to import the carousel.css
again in your stylesheets, as the module already imports it. Simply write your custom styles in your CSS files.
For detailed information about the Vue 3 Carousel component, its usage, options and events, please refer to the official Vue 3 Carousel documentation.
To contribute, submit issues or pull requests, visit the Vue 3 Carousel GitHub repository.
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
v1.1.5
FAQs
Vue 3 Carousel module for Nuxt
The npm package vue3-carousel-nuxt receives a total of 12,883 weekly downloads. As such, vue3-carousel-nuxt popularity was classified as popular.
We found that vue3-carousel-nuxt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.