This chapter contains all of the code necessary to create, edit, list, and view blog entries. It also includes integration with the Quill rich text editor. You can follow along with the code, including all of the necessary Less/CSS for this portion of the app, in ch8.zip
.
The construction of the application is split into the following four parts:
The following is a manifest for all of the code in this chapter. You can follow along with code listings in ch8.zip
.
There's just one store for posts.
js/stores/posts.js
Post-related views covered, and their respective styles, include:
js/views/posts/edit.jsx
, css/views/posts/edit.less
js/views/posts/view.jsx
, css/views/posts/view.less
js/components/posts/list.jsx
, css/components/posts/list.less
js/views/posts/list.jsx
, css/views/posts/list.less
Affected views:
js/views/users/view.jsx
(add user posts)18.191.145.193