@lucidcms/plugin-local-storage
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Lucid - Local Storage Plugin

The official Local Storage plugin for Lucid

This plugin registers the required media strategy functions to stream, upload, update and delete media from the specified local directory.

Installation

npm install @lucidcms/plugin-local-storage

lucid.config.ts/js

import LucidLocalStorage from "@lucidcms/plugin-local-storage";

export default lucid.config({
  // ...other config
  plugins: [
    LucidLocalStorage({
      uploadDir: "./uploads",
    }),
  ],
});

Package Sidebar

Install

npm i @lucidcms/plugin-local-storage

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

25.8 kB

Total Files

7

Last publish

Collaborators

  • williamyallop