Live data from Hacker News

A SvelteKit template for building CMS-free editable websites

editable.website

81–85 of 85 posts

Re: A SvelteKit template for building CMS-free editable websites

#81

SvelteKit is such a breath of fresh air, glad to see it used on this.

It really is - writing a svelte component feels like writing something in vanilla html/js/css, but you get all the advantages that come with a framework.

It almost feels like a pretty PHP in the way you can mix HTML and template code inline.

Re: A SvelteKit template for building CMS-free editable websites

#82

Doesn't seem usable on mobile chrome. The editor bar disappears

Yeah, that's a known issue. Mobile browser's shift the viewport (including fixed elements) when the soft keyboard gets activated. There are workarounds, but I haven't found a satisfying one that doesn't introduce other problems.

For now just click "Done" to bring back the toolbar (the selection will be preserved).

Re: A SvelteKit template for building CMS-free editable websites

#83
post #79
post #67

Earlier quoted context omitted.

Exactly. This is for frontend developers, who want to control the layout in code, but allow end-users to make content changes (without destroying the layout :P). If you or your end-users prefer to also define layout and style in a visual interface, that's what CMS and No-Code tools are made for. As for earning money: I was thinking of creating specific templates (e.g. an editable artist portfolio website) and sell th…

You can always develop sites yourself, but tools are more profitable. "Framer/Webflow for front-end developers". Occupy the niche between framer/webflow and pure Svelte; make developers' work easier?

Yeah I'm a bit undecided. I'm more obsessed with pushing quality than with operating a SaaS business (which can easily turn you from creator to manager). Let's see where this leads. For now I'd be glad to help people with their websites/apps. It's fun and rewarding!

Re: A SvelteKit template for building CMS-free editable websites

#85

Cool idea, and I really like how the site still functions for readers with JS disabled, which is (as far as I'm aware) uncommon for this sort of thing. One thing that isn't clear from reading the GitHub page — do all visitors end up downloading the editor payload or do only admins who are logged in get that?

The editor payload now is loaded on demand (after you click edit), so it's truly progressively enhanced now. :)

Thank you Nils Kjellman for the patch. https://github.com/michael/editable-website/pull/8

Post reply on HN