webpack打包出错
tdkgood opened this issue · 1 comments
不知道是不是我打包的原因,编译通过,访问的时候报:
VM2519:4144 Uncaught Error: Expected 'styles' to be an array of strings.
at assertArrayOfStrings (eval at (vendor.js:1022), :4144:19)
at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (eval at (vendor.js:1022), :15390:13)
at CompileMetadataResolver.loadDirectiveMetadata (eval at (vendor.js:1022), :15312:25)
at eval (eval at (vendor.js:1022), :26920:72)
at Array.forEach ()
at eval (eval at (vendor.js:1022), :26919:72)
at Array.forEach ()
at JitCompiler._loadModules (eval at (vendor.js:1022), :26916:75)
at JitCompiler._compileModuleAndComponents (eval at (vendor.js:1022), :26886:36)
at JitCompiler.compileModuleAsync (eval at (vendor.js:1022), :26815:37)
@daikting
已经添加了部署和打包的说明了,看readme