1.0.8 • Published 3 years ago

vue-cli-plugin-webpack-aliyun-oss v1.0.8

Weekly downloads
286
License
MIT
Repository
github
Last release
3 years ago

vue-cli-plugin-webpack-aliyun-oss

vue cli plugin to upload your assets to aliyun oss

Installation

vue add webpack-aliyun-oss

Usage

After running the command above, the terminal will ask you to input your accessKeyId, accessKeySecret, region and bucket. these data can be used to config your aliyun oss and will be written into .config.js in your project root. and also you can edit them manually at any time.

The plug-in supports all configuration parameters of webpack-aliyun-oss, only the necessary parameters are shown here. For example, you can add from to customize the upload range, modify test to true to only display the upload log, etc.

a .config.js file will look like this:

module.exports = {
	region: 'c',
	accessKeyId: 'a',
	accessKeySecret: 'b',
	bucket: 'd',
	dist: '/test',
	buildRoot: './dist',
	test: true
}

If you just want to upload the assets which are already generated, you can just run

npm run upload
# or
yarn run upload
1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago