Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@storyblok/vue
Advanced tools
Vue plugin to make any Storyblok component editable with a simple v-editable
directive.
Note: This plugin is for Vue 2. Check out the @next version for Vue 3
If you are first-time user of the Storyblok, read the Getting Started guide to get a project ready in less than 5 minutes.
Install @storyblok/vue
:
npm install --save-dev @storyblok/vue
// yarn add -D @storyblok/vue
Register it globally on your application (usually in main.js
):
import Vue from "vue";
import StoryblokVue from "@storyblok/vue";
Vue.use(StoryblokVue);
Install the file from the CDN:
<script src="https://unpkg.com/@storyblok/vue"></script>
That's it, the plugin is auto-registered for you 😉.
For every component you've defined in your Storyblok space, add the v-editable
directive with the blok content:
<template>
<div v-editable="blok"><!-- ... --></div>
</template>
Where blok
is the actual blok data coming from Storblok's Content Delivery API.
Check out the playground for a full example.
This plugin is for Vue 2. Thus, it supports the same browsers as Vue 2.
Please see our contributing guidelines and our code of conduct. This project use semantic-release for generate new versions by using commit messages and we use the Angular Convention to naming the commits. Check this question about it in semantic-release FAQ.
This repository is published under the MIT license.
FAQs
Storyblok directive for get editable elements.
The npm package @storyblok/vue receives a total of 10,447 weekly downloads. As such, @storyblok/vue popularity was classified as popular.
We found that @storyblok/vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.