Add nuxt-module for moment
This commit is contained in:
@@ -19,6 +19,9 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
mode: 'spa',
|
||||
modules: [
|
||||
['@nuxtjs/moment', { locales: ['sv'], defaultLocale: 'sv' }],
|
||||
],
|
||||
plugins: [
|
||||
{src: '~/plugins/vuetify.js', ssr: false},
|
||||
{src: '~/plugins/graph-routing.js', ssr: false},
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"author": "Joakim Olsson <joakim@unbound.se>",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@nuxtjs/moment": "^1.1.0",
|
||||
"apollo-link": "^1.2.6",
|
||||
"apollo-link-error": "^1.1.5",
|
||||
"apollo-link-http": "^1.5.9",
|
||||
|
||||
@@ -891,6 +891,14 @@
|
||||
dependencies:
|
||||
consola "^2.3.0"
|
||||
|
||||
"@nuxtjs/moment@^1.1.0":
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@nuxtjs/moment/-/moment-1.1.0.tgz#4e3aa33da92f6c29f1863ecd629b408852483143"
|
||||
integrity sha512-kgGFuu+SJYaIbS2KIxOZYMEVZMOg2eF/1RI6KYGbdIXxnp7f/lB3f8IdZu7cN7r1TyNr/tiFhCrCEw4B7n153A==
|
||||
dependencies:
|
||||
moment "^2.22.2"
|
||||
moment-locales-webpack-plugin "^1.0.7"
|
||||
|
||||
"@nuxtjs/opencollective@^0.2.0":
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@nuxtjs/opencollective/-/opencollective-0.2.1.tgz#ddf3e6a22990997322bc2b82e2455a7fbffc518d"
|
||||
@@ -4941,6 +4949,11 @@ lodash.debounce@^4.0.8:
|
||||
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
|
||||
integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=
|
||||
|
||||
lodash.difference@^4.5.0:
|
||||
version "4.5.0"
|
||||
resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c"
|
||||
integrity sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw=
|
||||
|
||||
lodash.isplainobject@^4.0.6:
|
||||
version "4.0.6"
|
||||
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
|
||||
@@ -5316,12 +5329,19 @@ mkdirp@0.5.0:
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
moment-locales-webpack-plugin@^1.0.7:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/moment-locales-webpack-plugin/-/moment-locales-webpack-plugin-1.0.7.tgz#ce2931b8a25100dae0868adbd9e93972dcb33359"
|
||||
integrity sha512-KjYpaAhmuzGFZl6534FlZoK7QtW3vqlxd+A17W9DlgHJ5yhXANy7AZJl7iYtZpWjAfMTAWiVrQ7YDZdkFO6uRw==
|
||||
dependencies:
|
||||
lodash.difference "^4.5.0"
|
||||
|
||||
moment@2.22.2:
|
||||
version "2.22.2"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.22.2.tgz#3c257f9839fc0e93ff53149632239eb90783ff66"
|
||||
integrity sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=
|
||||
|
||||
moment@^2.11.1, moment@^2.24.0:
|
||||
moment@^2.11.1, moment@^2.22.2, moment@^2.24.0:
|
||||
version "2.24.0"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
|
||||
integrity sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==
|
||||
|
||||
Reference in New Issue
Block a user