You are viewing a single comment's thread from:
RE: Added several updates to the SteemMakers test site
Just reminder. For maintainability, consider using Vue mixins for subfeature.
For example, you want to add markdown feature on Blog.vue
and Comment.vue
. You can structure your project by:
.src/ts
├── components
│ ├── Blog.vue
│ └── Comment.vue
│
└── mixins
└── markdown.ts
then if you want to add markdown feature on some component you just
import markdown from '@mixins/markdown'
export default Vue.extend({
mixins: [markdown]
})
bonus some bug on busy.org comment markdown
Thanks. I'm learning as I go, so I value your feedback. I'll look into it. Still restructuring the code.