setupDevProject.js 293 B

1234567891011
  1. // dev only
  2. const path = require('path')
  3. const { linkBin } = require('./linkBin')
  4. module.exports = function setupDevProject (targetDir) {
  5. return linkBin(
  6. require.resolve('@vue/cli-service/bin/vue-cli-service'),
  7. path.join(targetDir, 'node_modules', '.bin', 'vue-cli-service')
  8. )
  9. }