0.1.0 • Published 5 years ago

vue-cli-plugin-source-dir v0.1.0

Weekly downloads
78
License
MIT
Repository
github
Last release
5 years ago

vue-source-dir

Add the option to configure the source directory for Vue CLI

Quick start

Navigate to your Vue CLI 3 project and run:

$ vue add source-dir

Then in your vue.config.js file, set the following:

// vue.config.js
module.exports = {
    pluginOptions: {
        sourceDir: "client"
    }
}

Replace client with whichever directory you wish to use instead of src. Finally, simply rename the src directory and you should be good to go!