0.2.1 • Published 1 year ago

@gravitybv/vue-strapi v0.2.1

Weekly downloads
14
License
MIT
Repository
github
Last release
1 year ago

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

0.2.1

1 year ago

0.2.0

1 year ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago