0.0.31 • Published 2 years ago

@livecms/live-edit v0.0.31

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@livecms/live-edit

npm version npm downloads Github Actions CI Codecov License

Live content edit

📖 Release Notes

Setup

  1. Add @livecms/live-edit dependency to your project
yarn add @livecms/live-edit # or npm install @livecms/live-edit
  1. 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
  },
}
  1. Add <live-edit /> to layouts/default.vue

  2. Fetch texts

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

Development

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

License

MIT License

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

0.0.31

2 years ago

0.0.30

2 years ago

0.0.27

2 years ago

0.0.29

2 years ago

0.0.26

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.20

3 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago