How to use the @vue/cli-service function in @vue/cli-service

To help you get started, we’ve selected a few @vue/cli-service examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ditojs / dito / packages / server / src / controllers / AdminController.js View on Github external
getWebpackConfig() {
    // Use VueService to create full webpack config for us:
    const plugins = [{ id: '@vue/cli-plugin-babel', apply: vuePluginBabel }]
    if ( {
      plugins.push({ id: '@vue/cli-plugin-eslint', apply: vuePluginEslint })
    const service = new VueService(this.getPath('build'), {
      inlineOptions: this.getVueConfig(),
    return service.resolveWebpackConfig()


local service for vue-cli projects

Latest version published 2 years ago

Package Health Score

71 / 100
Full package analysis