vue-cli-plugin-source-dir
v0.1.0
Published
Add the option to configure the source directory for Vue CLI
Downloads
16
Readme
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-dirThen 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!
