vuetifyjs / nuxt

Nuxt.js + Vuetify.js starter project template.
MIT License
306 stars 109 forks source link

Automatically Update Copyright Year #57

Closed XanderLuciano closed 5 years ago

XanderLuciano commented 5 years ago

Instead of having to update the copyright year manually, get the current year via javascript.

kelvin2go commented 5 years ago

this seem giving error when vue init.

vue init vuetifyjs/nuxt teach-bot-web

? Project name teach-bot-web
? Project description camera to speak and ML on web
? Author kelvin2go (kelvinho84@gmail.com)
? Use a-la-carte components? Yes
   vue-cli · [layouts/default.vue] Parse error on line 77:
...<span>&copy; {{ new Date().getFullYear()
-----------------------^
Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'INVALID'
XanderLuciano commented 5 years ago

@kelvin2go Ah I forgot about that, sorry. I submitted a new PR #59 with this properly escaped.