Comments (6)
Hi Yossy, thanks for opening an issue and amazing you want to help us out with your work using honox 👋 ! I would like to start very simple, as you suggested. Inspiration from a simple yet clean open source repo blog section is: https://www.loglib.io/blog . Their repo for this: https://github.com/loglib/loglib/tree/main/apps/www/src/content/blogs
They work with NextJS, Contentlayer and MDX, but as you say, here we will try to use Honox and vite.
So the first step is to build just a page to see all blogs summarized (/blog) and a page to see a post (/blog/${slug}).
Some thoughts:
- Loglib is using Contentlayer. Do we need it or not? Vite support seems to be a work in progress: contentlayerdev/contentlayer#179 (comment)
- more to come ..
I will share some visuals for the blog design later.
from cella.
Lets continue the conversation in the PR ok? I will close this issue
from cella.
@flipvh
Hi flipvh, I have created an issue and would like you to check it when you have time!
from cella.
@flipvh
Thanks for the reply!
Loglib is using Contentlayer. do we need it or not?
No, we use remark-frontmatter and remark-mdx-frontmatter for blogging with HonoX. These will parse the mdx into html at build time and display it on the screen when you access that path in a browser.
So the first step is to create a page to see all the blogs together (/blog) and a page to see the articles (/blog/${slug}).
With this requirement, it could be made to look almost like your own blog! (https://github.com/yossydev/blog)
My blog uses tailwindcss instead of shadcs/ui to create the UI, but probably no problem there either!
I'll try to get a PR with the environment setup out to this repository as soon as possible later! I'm going to create a honox project under a directory called /blog!
from cella.
By the way, where will the hosting be done?
I recommend cloudfkare pages, but honox works anywhere, so basically any hosting service will work!
from cella.
Lets continue the conversation in the PR ok? I will close this issue
OK!
from cella.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cella.