Skip to content

Commit 309f8dd

Browse files
docs: update installation instruction (#16)
1 parent 8cf21b2 commit 309f8dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ Installation
6666
First, install the package as a dependency in your package.json:
6767

6868
```sh
69-
$ npm install --save-dev preload-webpack-plugin
69+
$ npm install --save-dev @vue/preload-webpack-plugin
7070
```
7171

7272
Alternatively, using yarn:
7373

7474
```sh
75-
yarn add -D preload-webpack-plugin
75+
yarn add -D @vue/preload-webpack-plugin
7676
```
7777

7878
Usage
@@ -81,7 +81,7 @@ Usage
8181
Next, in your Webpack config, `require()` the preload plugin as follows:
8282

8383
```js
84-
const PreloadWebpackPlugin = require('preload-webpack-plugin');
84+
const PreloadWebpackPlugin = require('@vue/preload-webpack-plugin');
8585
```
8686

8787
and finally, configure the plugin in your Webpack `plugins` array after `HtmlWebpackPlugin`:

0 commit comments

Comments
 (0)