Closed ovo4096 closed 7 years ago
In previous versions, it can work. But now can not work, this is why?
This rather seems like your template is not formatted correctly.
Please provide a runnable reproduction.
@ovo4096 Hello! Help me please! I have the same issue. How did you fix your problem?
@ma1oy exactly the same issue? It from the example above it looks like the template wasn't formatted properly, there shouldn't be anything outside of the root dom element.
The issue I had was using pug: ['html-loader', 'pug-html-loader']
. Substitute html-loader
with vue-html-loader
and the problem persists. If you are in a similar situation, just use pug: 'pug-html-loader'
in your loader options. vue-loader
is expecting a simple string of html and html-loader
returns a script.
Maybe because<template lang="html">
,just use <template>
I also encountered the same problem, and I use <template>
in instead of <template lang="html">
work.
Although, inner <style></style>
can't have anything.....
That depressed.
FFS! Thanks to @WarrenXia , I just waste my 5 hours just because of that ****.
Problem
I would like to enable html interpolate, but not work.
Webpack config
Errors