Загрузка...

Connect Your Base44 App to Wix CMS in a Few Minutes 💻

A simple way to connect a Wix CMS collection to a Base44 app using prompts and the Wix SDK.

Ready to try? Use this prompt:
install 2 npm packages:
@wix/sdk@^1.12.0
@wix/data@^1.0.0

now, create an admin page that will show data from my Wix CMS. Im giving you a code snippet from the Wix SDKto help you with getting started:

import { createClient } from "@wix/sdk"; import { items } from "@wix/data"; // Import necessary authentication strategy, e.g., ApiKeyStrategy import { ApiKeyStrategy } from "@wix/sdk";
const wixClient = createClient({ modules: { items }, auth: OAuthStrategy({ clientId: "YOUR_ID", }), });
const query = wixClient.items.query("COLLECTION_NAME")
you should map the data from the CMS to a table that will display each item's data including first name, last name, position and their bio.
Also, add a refresh button so that we update info in the CMS, its reflected on the page.

Wix Documentation ► https://dev.wix.com/

#coding #vibecoding #wix #wixstudio #base44

Join our Discord ► https://discord.gg/wixstudio

Видео Connect Your Base44 App to Wix CMS in a Few Minutes 💻 канала Wix for Developers
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять