Skip to content

Commit

Permalink
fix(vuetify): update paths for store and router option check.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahKotyluk committed Mar 26, 2021
1 parent 32d621a commit 4ae3628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue-cli-plugin-vuetify/generator/tools/vuetify.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function renderFiles (api, { opts }) {

// Render files if we're replacing
const fs = require('fs')
const routerPath = api.resolve(`./src/router.${ext}`)
const storePath = api.resolve(`./src/store.${ext}`)
const routerPath = api.resolve(`./src/router/index.${ext}`)
const storePath = api.resolve(`./src/store/index.${ext}`)

opts.router = fs.existsSync(routerPath)
opts.store = fs.existsSync(storePath)
Expand Down

0 comments on commit 4ae3628

Please sign in to comment.