I am creating a blog site using angular7.
I'm using various components to create blog parts, and I'm going to ask you about the data you're going to write when you finally create a blog.
One is to write it out as HTML and save it, and the other is to save json data for blogging.
When I save HTML itself as data, I think it would be easy to display it with innerHtml when I look at the page, and when I use json data as data, I think there are two ways to create a screen from the component and display it. Where should I keep the blog page?
javascript angular6
If you use angular, you can choose json.
It should be easier to maintain than it should be with html
© 2024 OneMinuteCode. All rights reserved.