Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-loader
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pi-plusplus
fork-from-github
vue-loader
Commits
434357cd
Unverified
Commit
434357cd
authored
Mar 04, 2021
by
Haoqun Jiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: update configuration example to import plugin from the main entry
parent
7af8db40
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
README.md
docs/guide/README.md
+1
-1
migrating.md
docs/migrating.md
+1
-1
README.md
docs/ru/guide/README.md
+2
-2
migrating.md
docs/ru/migrating.md
+1
-1
README.md
docs/zh/guide/README.md
+2
-2
migrating.md
docs/zh/migrating.md
+1
-1
No files found.
docs/guide/README.md
View file @
434357cd
...
...
@@ -26,7 +26,7 @@ Vue Loader's configuration is a bit different from other loaders. In addition to
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
module
:
{
...
...
docs/migrating.md
View file @
434357cd
...
...
@@ -17,7 +17,7 @@ Vue Loader v15 now requires an accompanying webpack plugin to function properly:
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
// ...
...
...
docs/ru/guide/README.md
View file @
434357cd
...
...
@@ -26,7 +26,7 @@ npm install -D vue-loader vue-template-compiler
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
module
:
{
...
...
@@ -51,7 +51,7 @@ module.exports = {
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
mode
:
'development'
,
...
...
docs/ru/migrating.md
View file @
434357cd
...
...
@@ -17,7 +17,7 @@ Vue Loader v15 теперь для правильной работы требу
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
// ...
...
...
docs/zh/guide/README.md
View file @
434357cd
...
...
@@ -26,7 +26,7 @@ Vue Loader 的配置和其它的 loader 不太一样。除了通过一条规则
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
module
:
{
...
...
@@ -51,7 +51,7 @@ module.exports = {
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
mode
:
'development'
,
...
...
docs/zh/migrating.md
View file @
434357cd
...
...
@@ -17,7 +17,7 @@ Vue Loader v15 现在需要配合一个 webpack 插件才能正确使用:
```
js
// webpack.config.js
const
VueLoaderPlugin
=
require
(
'vue-loader/lib/plugin
'
)
const
{
VueLoaderPlugin
}
=
require
(
'vue-loader
'
)
module
.
exports
=
{
// ...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment