mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 15:10:58 +00:00
chore(deps): update all non-major dependencies (#9400)
[release] Co-authored-by: Pooya Parsa <pyapar@gmail.com>
This commit is contained in:
parent
457984a567
commit
85615360b4
@ -34,11 +34,11 @@
|
||||
"@nuxt/utils": "2.15.6",
|
||||
"@nuxt/vue-renderer": "2.15.6",
|
||||
"node-fetch": "^2.6.1",
|
||||
"vue": "^2.6.13",
|
||||
"vue": "^2.6.14",
|
||||
"vue-client-only": "^2.1.0",
|
||||
"vue-meta": "^2.4.0",
|
||||
"vue-no-ssr": "^1.1.1",
|
||||
"vue-router": "^3.5.1",
|
||||
"vue-router": "^3.5.2",
|
||||
"vuex": "^3.6.2"
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
"@nuxt/babel-preset-app": "2.15.6",
|
||||
"@nuxt/builder": "2.15.6",
|
||||
"@nuxt/cli": "2.15.6",
|
||||
"@nuxt/components": "^2.1.8",
|
||||
"@nuxt/components": "^2.2.0",
|
||||
"@nuxt/config": "2.15.6",
|
||||
"@nuxt/core": "2.15.6",
|
||||
"@nuxt/generator": "2.15.6",
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Vuex from 'vuex'
|
||||
import { Store } from 'vuex'
|
||||
import { storiesOf } from '@storybook/vue'
|
||||
import { action } from '@storybook/addon-actions'
|
||||
import { linkTo } from '@storybook/addon-links'
|
||||
@ -56,7 +56,7 @@ storiesOf('Features/Method for rendering Vue', module)
|
||||
.add('vuex + actions', () => ({
|
||||
components: { MyButton },
|
||||
template: '<my-button :handle-click="log">with vuex: {{ $store.state.count }}</my-button>',
|
||||
store: new Vuex.Store({
|
||||
store: new Store({
|
||||
state: { count: 0 },
|
||||
mutations: {
|
||||
increment (state) {
|
||||
@ -75,7 +75,7 @@ storiesOf('Features/Method for rendering Vue', module)
|
||||
components: { MyButton },
|
||||
template:
|
||||
'<my-button :handle-click="log">with awesomeness: {{ $store.state.count }}</my-button>',
|
||||
store: new Vuex.Store({
|
||||
store: new Store({
|
||||
state: { count: 0 },
|
||||
mutations: {
|
||||
increment (state) {
|
||||
|
36
package.json
36
package.json
@ -10,7 +10,7 @@
|
||||
"distributions/*"
|
||||
],
|
||||
"scripts": {
|
||||
"audit": "improved-yarn-audit --ignore-dev-deps --min-severity moderate -e 1548,1693,1754,1755",
|
||||
"audit": "improved-yarn-audit --ignore-dev-deps --min-severity moderate -e 0",
|
||||
"build": "yarn clean && yarn pkg",
|
||||
"changelog": "jiti scripts/changelog.js",
|
||||
"clean": "yarn clean:build && yarn clean:examples && yarn clean:test",
|
||||
@ -33,28 +33,28 @@
|
||||
"test:unit": "jest packages --forceExit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.3",
|
||||
"@babel/preset-env": "^7.14.4",
|
||||
"@ls-lint/ls-lint": "^1.9.2",
|
||||
"@babel/core": "^7.15.0",
|
||||
"@babel/preset-env": "^7.15.0",
|
||||
"@ls-lint/ls-lint": "^1.10.0",
|
||||
"@nuxtjs/eslint-config": "^6.0.1",
|
||||
"@nuxtjs/eslint-config-typescript": "^6.0.1",
|
||||
"@rollup/plugin-alias": "^3.1.2",
|
||||
"@rollup/plugin-commonjs": "^19.0.0",
|
||||
"@rollup/plugin-alias": "^3.1.5",
|
||||
"@rollup/plugin-commonjs": "^19.0.2",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^13.0.0",
|
||||
"@rollup/plugin-node-resolve": "^13.0.4",
|
||||
"@rollup/plugin-replace": "^2.4.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
||||
"@typescript-eslint/parser": "^4.26.0",
|
||||
"@vue/server-test-utils": "^1.2.0",
|
||||
"@vue/test-utils": "^1.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.29.1",
|
||||
"@typescript-eslint/parser": "^4.29.1",
|
||||
"@vue/server-test-utils": "^1.2.1",
|
||||
"@vue/test-utils": "^1.2.2",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
"chrome-launcher": "^0.14.0",
|
||||
"consola": "^2.15.3",
|
||||
"create-require": "^1.1.1",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"esbuild": "^0.12.6",
|
||||
"eslint": "^7.28.0",
|
||||
"esbuild": "^0.12.19",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-multiplexer": "^2.0.0",
|
||||
"execa": "^5.1.1",
|
||||
"express": "^4.17.1",
|
||||
@ -65,20 +65,20 @@
|
||||
"got": "^11.8.2",
|
||||
"improved-yarn-audit": "^2.3.3",
|
||||
"jest": "^26.6.3",
|
||||
"jiti": "^1.10.1",
|
||||
"jsdom": "^16.6.0",
|
||||
"jiti": "^1.11.0",
|
||||
"jsdom": "^16.7.0",
|
||||
"jsonfile": "^6.1.0",
|
||||
"klaw-sync": "^6.0.0",
|
||||
"lerna": "^4.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"node-fetch": "^2.6.1",
|
||||
"puppeteer-core": "^10.0.0",
|
||||
"puppeteer-core": "^10.2.0",
|
||||
"request": "^2.88.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "2.51.0",
|
||||
"rollup": "2.56.2",
|
||||
"rollup-plugin-esbuild": "^4.5.0",
|
||||
"rollup-plugin-license": "^2.5.0",
|
||||
"sass": "^1.34.1",
|
||||
"sass": "^1.37.5",
|
||||
"sass-loader": "^10.1.1",
|
||||
"sort-package-json": "^1.50.0",
|
||||
"typescript": "~4.3",
|
||||
|
@ -10,22 +10,22 @@
|
||||
],
|
||||
"main": "src/index.js",
|
||||
"dependencies": {
|
||||
"@babel/compat-data": "^7.14.4",
|
||||
"@babel/core": "^7.14.3",
|
||||
"@babel/helper-compilation-targets": "^7.14.4",
|
||||
"@babel/helper-module-imports": "^7.13.12",
|
||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||
"@babel/plugin-proposal-decorators": "^7.14.2",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.2",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.14.2",
|
||||
"@babel/plugin-proposal-private-methods": "^7.13.0",
|
||||
"@babel/plugin-transform-runtime": "^7.14.3",
|
||||
"@babel/preset-env": "^7.14.4",
|
||||
"@babel/runtime": "^7.14.0",
|
||||
"@babel/compat-data": "^7.15.0",
|
||||
"@babel/core": "^7.15.0",
|
||||
"@babel/helper-compilation-targets": "^7.15.0",
|
||||
"@babel/helper-module-imports": "^7.14.5",
|
||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||
"@babel/plugin-proposal-decorators": "^7.14.5",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
||||
"@babel/plugin-proposal-private-methods": "^7.14.5",
|
||||
"@babel/plugin-transform-runtime": "^7.15.0",
|
||||
"@babel/preset-env": "^7.15.0",
|
||||
"@babel/runtime": "^7.15.3",
|
||||
"@vue/babel-preset-jsx": "^1.2.4",
|
||||
"core-js": "^2.6.5",
|
||||
"core-js-compat": "^3.14.0",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
"core-js-compat": "^3.16.1",
|
||||
"regenerator-runtime": "^0.13.9"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -12,8 +12,8 @@
|
||||
"@nuxt/utils": "2.15.6",
|
||||
"@nuxt/vue-app": "2.15.6",
|
||||
"@nuxt/webpack": "2.15.6",
|
||||
"chalk": "^4.1.1",
|
||||
"chokidar": "^3.5.1",
|
||||
"chalk": "^4.1.2",
|
||||
"chokidar": "^3.5.2",
|
||||
"consola": "^2.15.3",
|
||||
"fs-extra": "^10.0.0",
|
||||
"glob": "^7.1.7",
|
||||
|
@ -15,7 +15,7 @@
|
||||
"@nuxt/config": "2.15.6",
|
||||
"@nuxt/utils": "2.15.6",
|
||||
"boxen": "^5.0.1",
|
||||
"chalk": "^4.1.1",
|
||||
"chalk": "^4.1.2",
|
||||
"compression": "^1.7.4",
|
||||
"connect": "^3.7.0",
|
||||
"consola": "^2.15.3",
|
||||
@ -25,7 +25,7 @@
|
||||
"execa": "^5.1.1",
|
||||
"exit": "^0.1.2",
|
||||
"fs-extra": "^10.0.0",
|
||||
"globby": "^11.0.3",
|
||||
"globby": "^11.0.4",
|
||||
"hable": "^3.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"minimist": "^1.2.5",
|
||||
|
@ -18,7 +18,7 @@
|
||||
"lodash": "^4.17.21",
|
||||
"rc9": "^1.2.0",
|
||||
"std-env": "^2.3.0",
|
||||
"ufo": "^0.7.5"
|
||||
"ufo": "^0.7.7"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -9,14 +9,14 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@nuxt/utils": "2.15.6",
|
||||
"chalk": "^4.1.1",
|
||||
"chalk": "^4.1.2",
|
||||
"consola": "^2.15.3",
|
||||
"defu": "^5.0.0",
|
||||
"devalue": "^2.0.1",
|
||||
"fs-extra": "^10.0.0",
|
||||
"html-minifier": "^4.0.0",
|
||||
"node-html-parser": "^4.0.0",
|
||||
"ufo": "^0.7.5"
|
||||
"node-html-parser": "^4.1.3",
|
||||
"ufo": "^0.7.7"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -21,10 +21,10 @@
|
||||
"launch-editor-middleware": "^2.2.1",
|
||||
"on-headers": "^1.0.2",
|
||||
"pify": "^5.0.0",
|
||||
"serve-placeholder": "^1.2.3",
|
||||
"serve-placeholder": "^1.2.4",
|
||||
"serve-static": "^1.14.1",
|
||||
"server-destroy": "^1.0.1",
|
||||
"ufo": "^0.7.5"
|
||||
"ufo": "^0.7.7"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
17
packages/types/app/index.d.ts
vendored
17
packages/types/app/index.d.ts
vendored
@ -1,11 +1,12 @@
|
||||
import { ServerResponse } from 'http'
|
||||
import { IncomingMessage, NextFunction } from 'connect'
|
||||
import Vue, { ComponentOptions } from 'vue'
|
||||
import VueRouter, { Location, Route } from 'vue-router'
|
||||
import { Store } from 'vuex'
|
||||
import type { ServerResponse } from 'http'
|
||||
import type { IncomingMessage, NextFunction } from 'connect'
|
||||
import type Vue from 'vue'
|
||||
import type { Route } from 'vue-router'
|
||||
import type { Store } from 'vuex'
|
||||
import VueRouter from 'vue-router'
|
||||
|
||||
import { NuxtOptions } from '../config'
|
||||
import { NuxtRuntimeConfig } from '../config/runtime'
|
||||
import type { NuxtOptions } from '../config'
|
||||
import type { NuxtRuntimeConfig } from '../config/runtime'
|
||||
|
||||
// augment typings of Vue.js
|
||||
import './vue'
|
||||
@ -15,7 +16,7 @@ import './vuex'
|
||||
|
||||
type NuxtState = Record<string, any>
|
||||
|
||||
export interface NuxtAppOptions extends ComponentOptions<Vue> {
|
||||
export interface NuxtAppOptions extends Vue.ComponentOptions<Vue> {
|
||||
[key: string]: any // TBD
|
||||
}
|
||||
|
||||
|
14
packages/types/app/vue.d.ts
vendored
14
packages/types/app/vue.d.ts
vendored
@ -2,13 +2,13 @@
|
||||
* Extends interfaces in Vue.js
|
||||
*/
|
||||
|
||||
import Vue from 'vue'
|
||||
import { MetaInfo } from 'vue-meta'
|
||||
import { Route } from 'vue-router'
|
||||
import { RecordPropsDefinition, PropsDefinition, ComponentOptions } from 'vue/types/options'
|
||||
import { CombinedVueInstance, ExtendedVue } from 'vue/types/vue'
|
||||
import { NuxtRuntimeConfig } from '../config/runtime'
|
||||
import { Context, Middleware, Transition, NuxtApp } from './index'
|
||||
import type Vue from 'vue'
|
||||
import type { MetaInfo } from 'vue-meta'
|
||||
import type { Route } from 'vue-router'
|
||||
import type { RecordPropsDefinition, PropsDefinition, ComponentOptions } from 'vue/types/options'
|
||||
import type { CombinedVueInstance, ExtendedVue } from 'vue/types/vue'
|
||||
import type { NuxtRuntimeConfig } from '../config/runtime'
|
||||
import type { Context, Middleware, Transition, NuxtApp } from './index'
|
||||
|
||||
// https://github.com/vuejs/vue/blob/dev/types/options.d.ts#L63-L66
|
||||
type DefaultData<V> = object | ((this: V) => object)
|
||||
|
2
packages/types/config/head.d.ts
vendored
2
packages/types/config/head.d.ts
vendored
@ -4,6 +4,6 @@
|
||||
* https://github.com/declandewet/vue-meta#recognized-metainfo-properties
|
||||
*/
|
||||
|
||||
import { MetaInfo } from 'vue-meta'
|
||||
import type { MetaInfo } from 'vue-meta'
|
||||
|
||||
export type NuxtOptionsHead = MetaInfo | (() => MetaInfo)
|
||||
|
2
packages/types/config/router.d.ts
vendored
2
packages/types/config/router.d.ts
vendored
@ -5,7 +5,7 @@
|
||||
* https://router.vuejs.org/api/#router-construction-options
|
||||
*/
|
||||
|
||||
import { RouterOptions, RouteConfig as _RouteConfig } from 'vue-router'
|
||||
import type { RouterOptions, RouteConfig as _RouteConfig } from 'vue-router'
|
||||
|
||||
type UnionToIntersection<T> = (T extends any ? (k: T) => void : never) extends ((k: infer U) => void) ? U : never
|
||||
type RouteConfig = UnionToIntersection<_RouteConfig>
|
||||
|
2
packages/types/config/vue-configuration.d.ts
vendored
2
packages/types/config/vue-configuration.d.ts
vendored
@ -4,6 +4,6 @@
|
||||
* https://vuejs.org/v2/api/#Global-Config
|
||||
*/
|
||||
|
||||
import { VueConstructor } from 'vue'
|
||||
import type { VueConstructor } from 'vue'
|
||||
|
||||
export type NuxtOptionsVueConfiguration = Partial<VueConstructor['config']>
|
||||
|
@ -12,23 +12,23 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@types/autoprefixer": "9.7.2",
|
||||
"@types/babel__core": "7.1.14",
|
||||
"@types/compression": "1.7.0",
|
||||
"@types/connect": "3.4.34",
|
||||
"@types/etag": "1.8.0",
|
||||
"@types/file-loader": "5.0.0",
|
||||
"@types/html-minifier": "4.0.0",
|
||||
"@types/less": "3.0.2",
|
||||
"@types/node": "14.17.2",
|
||||
"@types/optimize-css-assets-webpack-plugin": "5.0.3",
|
||||
"@types/pug": "2.0.4",
|
||||
"@types/sass-loader": "8.0.1",
|
||||
"@types/serve-static": "1.13.9",
|
||||
"@types/babel__core": "7.1.15",
|
||||
"@types/compression": "1.7.1",
|
||||
"@types/connect": "3.4.35",
|
||||
"@types/etag": "1.8.1",
|
||||
"@types/file-loader": "5.0.1",
|
||||
"@types/html-minifier": "4.0.1",
|
||||
"@types/less": "3.0.3",
|
||||
"@types/node": "14.17.9",
|
||||
"@types/optimize-css-assets-webpack-plugin": "5.0.4",
|
||||
"@types/pug": "2.0.5",
|
||||
"@types/sass-loader": "8.0.2",
|
||||
"@types/serve-static": "1.13.10",
|
||||
"@types/terser-webpack-plugin": "4.2.1",
|
||||
"@types/webpack": "4.41.29",
|
||||
"@types/webpack": "4.41.30",
|
||||
"@types/webpack-bundle-analyzer": "3.9.3",
|
||||
"@types/webpack-dev-middleware": "4.1.2",
|
||||
"@types/webpack-hot-middleware": "2.25.4",
|
||||
"@types/webpack-hot-middleware": "2.25.5",
|
||||
"sass-loader": "10.1.1"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
@ -3,10 +3,10 @@
|
||||
* @nuxt/types/app/vue.d.ts
|
||||
*/
|
||||
|
||||
import Vue, { ComponentOptions } from 'vue'
|
||||
import { Middleware } from '..'
|
||||
import Vue from 'vue'
|
||||
import type { Middleware } from '..'
|
||||
|
||||
const options: ComponentOptions<Vue> = {}
|
||||
const options: Vue.ComponentOptions<Vue> = {}
|
||||
|
||||
// asyncData
|
||||
|
||||
|
@ -12,14 +12,14 @@
|
||||
"create-require": "^1.1.1",
|
||||
"fs-extra": "^10.0.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
"jiti": "^1.10.1",
|
||||
"jiti": "^1.11.0",
|
||||
"lodash": "^4.17.21",
|
||||
"proper-lockfile": "^4.1.2",
|
||||
"semver": "^7.3.5",
|
||||
"serialize-javascript": "^6.0.0",
|
||||
"signal-exit": "^3.0.3",
|
||||
"ua-parser-js": "^0.7.28",
|
||||
"ufo": "^0.7.5"
|
||||
"ufo": "^0.7.7"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -14,14 +14,14 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"node-fetch": "^2.6.1",
|
||||
"ufo": "^0.7.5",
|
||||
"ufo": "^0.7.7",
|
||||
"unfetch": "^4.2.0",
|
||||
"vue": "^2.6.13",
|
||||
"vue": "^2.6.14",
|
||||
"vue-client-only": "^2.1.0",
|
||||
"vue-meta": "^2.4.0",
|
||||
"vue-no-ssr": "^1.1.1",
|
||||
"vue-router": "^3.5.1",
|
||||
"vue-template-compiler": "^2.6.13",
|
||||
"vue-router": "^3.5.2",
|
||||
"vue-template-compiler": "^2.6.14",
|
||||
"vuex": "^3.6.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
@ -15,10 +15,10 @@
|
||||
"fs-extra": "^10.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"lru-cache": "^5.1.1",
|
||||
"ufo": "^0.7.5",
|
||||
"vue": "^2.6.13",
|
||||
"ufo": "^0.7.7",
|
||||
"vue": "^2.6.14",
|
||||
"vue-meta": "^2.4.0",
|
||||
"vue-server-renderer": "^2.6.13"
|
||||
"vue-server-renderer": "^2.6.14"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -8,13 +8,13 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.14.3",
|
||||
"@babel/core": "^7.15.0",
|
||||
"@nuxt/babel-preset-app": "2.15.6",
|
||||
"@nuxt/friendly-errors-webpack-plugin": "^2.5.1",
|
||||
"@nuxt/utils": "2.15.6",
|
||||
"babel-loader": "^8.2.2",
|
||||
"cache-loader": "^4.1.0",
|
||||
"caniuse-lite": "^1.0.30001235",
|
||||
"caniuse-lite": "^1.0.30001249",
|
||||
"consola": "^2.15.3",
|
||||
"css-loader": "^4.3.0",
|
||||
"cssnano": "^4.1.11",
|
||||
@ -27,9 +27,9 @@
|
||||
"html-webpack-plugin": "^4.5.1",
|
||||
"lodash": "^4.17.21",
|
||||
"memory-fs": "^0.5.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.6",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.8",
|
||||
"pify": "^5.0.0",
|
||||
"pnp-webpack-plugin": "^1.6.4",
|
||||
"pnp-webpack-plugin": "^1.7.0",
|
||||
"postcss": "^7.0.32",
|
||||
"postcss-import": "^12.0.1",
|
||||
"postcss-import-resolver": "^2.0.0",
|
||||
@ -42,11 +42,11 @@
|
||||
"terser-webpack-plugin": "^4.2.3",
|
||||
"thread-loader": "^3.0.4",
|
||||
"time-fix-plugin": "^2.0.7",
|
||||
"ufo": "^0.7.5",
|
||||
"ufo": "^0.7.7",
|
||||
"url-loader": "^4.1.1",
|
||||
"vue-loader": "^15.9.7",
|
||||
"vue-loader": "^15.9.8",
|
||||
"vue-style-loader": "^4.1.3",
|
||||
"vue-template-compiler": "^2.6.13",
|
||||
"vue-template-compiler": "^2.6.14",
|
||||
"watchpack": "^2.2.0",
|
||||
"webpack": "^4.46.0",
|
||||
"webpack-bundle-analyzer": "^4.4.2",
|
||||
|
@ -39,7 +39,7 @@ describe('nuxt basic resources size limit', () => {
|
||||
const MODERN_JS_RESOURCES_GZIP_KB_SIZE = 64
|
||||
expect(modernResourcesSize.gzip).toBeWithinSize(MODERN_JS_RESOURCES_GZIP_KB_SIZE)
|
||||
|
||||
const MODERN_JS_RESOURCES_BROTLI_KB_SIZE = 55
|
||||
const MODERN_JS_RESOURCES_BROTLI_KB_SIZE = 58
|
||||
expect(modernResourcesSize.brotli).toBeWithinSize(MODERN_JS_RESOURCES_BROTLI_KB_SIZE)
|
||||
})
|
||||
})
|
||||
|
@ -3,6 +3,7 @@ import Vuex from 'vuex'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
const store = () => new Vuex.Store({
|
||||
state: {
|
||||
counter: 0
|
||||
|
1
test/fixtures/with-config/store/index.js
vendored
1
test/fixtures/with-config/store/index.js
vendored
@ -3,6 +3,7 @@ import Vuex from 'vuex'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
const store = () => new Vuex.Store({
|
||||
state: {
|
||||
counter: 0
|
||||
|
Loading…
Reference in New Issue
Block a user