The official LibSQL adapter for Lucid CMS
npm install @lucidcms/libsql-adapter> The official LibSQL adapter for Lucid CMS
This package exports the LibSQL adapter for Lucid CMS.
``bash`
npm install @lucidcms/libsql-adapter
`typescript
import LibSQLAdapter from "@lucidcms/libsql-adapter"
export default lucid.config({
db: new LibSQLAdapter({
url: "libsql://replace-me.turso.io",
authToken: 'auth-token'
}),
// ...other config
});
``