Skip to content

Instantly share code, notes, and snippets.

View natemate90's full-sized avatar
🏍️
Coding with high octane fuel

Nathan Alder natemate90

🏍️
Coding with high octane fuel
  • Alder Digital
  • Amsterdam
View GitHub Profile
@natemate90
natemate90 / .editorconfig
Last active January 25, 2019 12:45
Vue Visual Studio Code user settings with lintfixing and prettier formatting on save
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@natemate90
natemate90 / header.vue
Last active November 17, 2018 17:49
Nuxt Vuex Store with dynamic translation slugs example code
methods: {
deLocale() {
if (this.hasPageSlugs) {
return (
this.localePath(this.slicedPath, "de") +
"/" +
this.currentPageSlugs.de
);
}
return this.switchLocalePath("de");

Keybase proof

I hereby claim:

  • I am natemate90 on github.
  • I am natemate90 (https://keybase.io/natemate90) on keybase.
  • I have a public key ASBWXIgsYM2ACftXS4uEsw_g5WW8HU1ZBCrT8uMIjHwIPgo

To claim this, I am signing this object: