Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gravitybv/vue-strapi

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gravitybv/vue-strapi

A Strapi plugin for Vue.js

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Vue Strapi

npm version npm downloads License

Strapi plugin for Vue.js

This plugin is a port of @nuxtjs/strapi to use it in Vue.js. We refer to that documentation as the functionality is mainly the same.

Installation

  1. Install the package using npm install vue-strapi
  2. Import the plugin into your main.js with import strapi from "@gravitybv/vue-strapi"
  3. Use the plugin in Vue.js by adding Vue.use(strapi) in main.js

Features

  • Authentication support
  • RESTful methods
  • Adaptive SDK for API entities
  • Handle errors with hooks

📖  Read the documentation

Configuration

You can configure the plugin just like the NuxtJS module. Below you will find an example:

Vue.use(strapi, {
  url: "http://localhost:1337",
  entities: ["posts"]
})

Development

  1. Clone this repository
  2. Install dependencies using npm install
  3. Start development server using npm run serve

License

MIT License

FAQs

Package last updated on 23 Jan 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc