Socket
Book a DemoInstallSign in
Socket

@livecms/live-edit

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livecms/live-edit

Live content edit

latest
Source
npmnpm
Version
0.0.31
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@livecms/live-edit

npm version npm downloads Github Actions CI Codecov License

Live content edit

📖 Release Notes

Setup

  • Add @livecms/live-edit dependency to your project
yarn add @livecms/live-edit # or npm install @livecms/live-edit
  • Add @livecms/live-edit to the modules section of nuxt.config.js
{
  modules: [
    '@livecms/live-edit',
  ],

  liveEdit: {
    api: process.env.LIVE_EDIT_API, // https://example.livecms.cz/api or custom API
    assets: process.env.LIVE_EDIT_ASSETS, // S3 storage - https://s3.eu-central-1..
    imagekit: process.env.LIVE_EDIT_IMAGEKIT, // Imagekit url - https://ik.imagekit.io/something
  },
}
  • Add <live-edit /> to layouts/default.vue

  • Fetch texts

async fetch() {
  await this.$liveEdit.loadTexts();
},

Development

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using npm run dev

License

MIT License

Copyright (c) David Veselý jsem@davidvesely.cz

FAQs

Package last updated on 17 Jul 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