Skip to content

Commit 5a4035f

Browse files
author
Andre Asselin
committed
Expand on details of webpack 2.x language configuration to match 1.x documentation
1 parent f051849 commit 5a4035f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/en/configurations/advanced.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ module.exports = {
4444
// vue-loader options goes here
4545
options: {
4646
loaders: {
47-
// ...
47+
// load all <script> without "lang" attribute with coffee-loader
48+
js: 'coffee',
49+
// load <template> directly as HTML string, without piping it
50+
// through vue-html-loader first
51+
html: 'raw'
4852
}
4953
}
5054
}

0 commit comments

Comments
 (0)