Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@atoms-studio/nuxt-components
Advanced tools
Unstyled components that cover most common UI patterns. Uses Vite in lib mode to build for production. Uses Vitest to run unit tests.
Unstyled components that cover most common UI patterns.
Uses Vite in lib mode to build for production.
Uses Vitest to run unit tests.
yarn add @atoms-studio/nuxt-components
Then in your Nuxt 3 project you should import your Nuxt component like this:
<template>
<div class="wrapper-image-component">
<AppPicture
:image="image"
:focal-point="focalPoint"
:base64="base"
sizes="md:500px xl:100vw"
/>
</div>
</template>
<script>
import '@atoms-studio/nuxt-components/dist/style.css'
import { AppPicture } from '@atoms-studio/nuxt-components'
export default {
components: {
AppPicture,
},
data() {
return {
image: {
url: 'https://images.ctfassets.net/w2dr5qwt1rrm/2QTfowm3D2kbkTdoUTtTv2/57fc815c23c0be887f44675413372580/LAxBR_2020.11.12_Final_Product_KV_RVB.jpg',
width: 2500,
height: 1236,
},
focalPoint: {
x: 1264,
y: 677,
},
base: 'data:image/jpeg;base64,/9j/2wBDABQODxIPDRQSEBIXFRQYHjIhHhwcHj0sLiQySUBMS0dARkVQWnNiUFVtVkVGZIhlbXd7gYKBTmCNl4x9lnN+gXz/2wBDARUXFx4aHjshITt8U0ZTfHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHz/wAARCAAIABADASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAIE/8QAGxAAAgEFAAAAAAAAAAAAAAAAAAEDAhETMTP/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/8QAFREBAQAAAAAAAAAAAAAAAAAAABH/2gAMAwEAAhEDEQA/AN80aeqyMDt0QAEM/9k=',
}
},
}
</script>
<script setup>
as you see fit.tests
folder named after it, ie: test/<componentName>.test.ts
.To execute unit tests, run yarn test
in the packages/nuxt-components
folder.
FAQs
The Nuxt module to enable auto importing for Nuxt 3
The npm package @atoms-studio/nuxt-components receives a total of 45 weekly downloads. As such, @atoms-studio/nuxt-components popularity was classified as not popular.
We found that @atoms-studio/nuxt-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.