Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Integrating SvelteKit App as a WordPress Plugin

$
0
0

Background

I'm developing a WordPress plugin that provides a search functionality for content within the WordPress ecosystem.

My initial approach involved a separate SvelteKit frontend, communicating with a PostgreSQL database via a backend API. This prototype effectively searched within the database.

However, a key requirement has emerged: the plugin must operate entirely within the WordPress environment, without relying on external servers.

The problem

How can I integrate a SvelteKit application (or its core logic) into a WordPress plugin?

Are there any SvelteKit adapters or alternative approaches to achieve this seamless integration?

Is it feasible to build the plugin's frontend using Svelte and handle all the necessary logic within that frontend, given the WordPress environment constraints?

Technical Details:

I need to use the Pods plugin and custom post types to manage content within WordPress.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>