SvelteKit adapter for template engines such as PHP, Blade, Handlebars, etc.
The sveltekit-adapter-html-like package is an adapter for SvelteKit apps that prerenders your site as static files for template engines such as PHP, Blade, Embedded Ruby (ERB), Handlebars, EJS, etc. It is a fork of the @sveltejs/adapter-static package and offers additional features such as tag injection, string replacement, minification/prettification of output, custom file extensions, and more. However, it should be noted that SvelteKit is still under heavy development and may introduce breaking changes.
<head> or <body> sections..php or .hbs.To install the sveltekit-adapter-html-like package, run the following command:
npm install -D sveltekit-adapter-html-like
After installing the package, add the adapter to your svelte.config.js file.
The sveltekit-adapter-html-like package is an adapter for SvelteKit apps that enables prerendering of your site as static files for template engines. It offers additional features such as tag injection, string replacement, and minification of output files. However, it should be noted that SvelteKit is still under heavy development and may introduce breaking changes. Proper installation and configuration of the adapter are necessary to utilize its features effectively.