fix salad config

This commit is contained in:
qingwei.li
2016-11-13 22:08:38 +08:00
parent 1208ef520c
commit 1f96a372fe
7 changed files with 38 additions and 66 deletions

13
FAQ.md
View File

@@ -46,19 +46,6 @@
请参考我们提供的 [starter kit](https://github.com/ElementUI/element-starter),在 webpack 的 loaders 中正确配置 file-loader、css-loader 和 style-loader。此外我们还提供了基于 [cooking](https://github.com/ElementUI/element-cooking-starter) 和 [laravel](https://github.com/ElementUI/element-in-laravel-starter) 的项目模板。
</details>
<details>
<summary>在项目中引入 Element`Uncaught Error: Module build failed: SyntaxError: 'with' in strict mode` 是什么原因?</summary>
请避免你使用的编译器处理 Element。比如若是使用 webpack请在 loaders 中配置:
```javascript
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/
}
```
</details>
<details>
<summary>将 Element 克隆至本地,运行时为何会报错/跑不起来?</summary>