How writing and editing blog entries works
😎Local editing
- Fire up the dev environment with
npm run dev - Open the site on http://localhost:3000, and the admin panel on http://localhost:3000/admin
- Write
- Hit Publish and preview in the other tab. (The side by side preview doesn't work because I didn't get live markdown conversion to work.)
- Hit save to save changes to the local file system
- Commit and push to origin to trigger a deploy. Deploys take ~2 minutes.
- Preview on production site https://blogtest.mgieselmann.com
Note:
- To change a post's slug, edit its filename. Do this sparingly, because SEO.
