Repository navigation
Expand file tree
/
Copy pathindex.mdx
More file actions
45 lines (38 loc) · 2.69 KB
/
Copy pathindex.mdx
File metadata and controls
45 lines (38 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: Houston, we have a blog!
tags:
- blog
- vue
image: ./fireworks.gif
---
import fireworks from "./fireworks.gif";
One of my goals with this new year has been to start writing more frequently, be it technical articles or just my
thoughts and ramblings. I've considered [Medium](http://www.medium.com/@snapwich) in the past (and still might duplicate
some of my writing there), but felt the platform just isn't quite there yet for the purpose of writing technical
articles. I have read many well-written technical articles there that I felt were held back by the limitations of the
platform. I'm of the strong opinion that **learning is doing**, and limiting educational writing to text and graphics
isn't the best medium for doing.
<figure class="small right">
<img src={fireworks.src} />
<figcaption>With new years comes new resolutions.</figcaption>
</figure>
So... after much struggle and some consistent head to desk interactions I have successfully added blog functionality to
my static website! Since each of my articles on this website are
[Single File Vue Components](https://vuejs.org/v2/guide/single-file-components.html), the mingling of text and technical
code examples should be a seamless experience. Also, since
[this website is hosted on Github Pages](https://github.com/snapwich/richsnapp.com/blob/master/blog/2018/01-07-we-have-a-blog/index.vue),
readers have a way to provide easy feedback and hopefully updates to my more-than-likely buggy demonstrations. I like my
code to be open source, so why not my articles?
I still have some things on my wish list to hopefully make my writing and these articles as productive as possible, so
hopefully I'll get to these soon:
- ~~Add a comments section at the end of each article (most likely with [Disqus](http://www.disqus.com))~~
- ~~Add sharing capabilities~~, RSS functionality, maybe a newsletter (where Medium shines)
- ~~Add a search feature~~
- ~~Update the blog index page to be a little more robust. Currently it's loading the pages using the
[preval babel plugin](https://github.com/kentcdodds/babel-plugin-preval) which, as cool as it is, seems to behave a
bit flakey at times and also have some issues with caching when I'm doing dev work. Also those little blog previews
don't currently allow for nice things such as displaying vue components since I'm being naughty with the `v-html`
attribute.~~ _Updated this to use a custom webpack loader to generate the index pages, although I'm still being
naughty with `v-html`_.
This site has already proven to be a valuable learning experience as I've developed it. Hopefully, with a few articles
under its belt and some new features, it can prove to be a valuable learning resource for others as well!