[Doc] Theme: babel version tip (#2106)

This commit is contained in:
neverland 2018-11-18 10:40:11 +08:00 committed by GitHub
parent ed71a88fc6
commit 997835db0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ First you should import the less source file to your project. you can use babel-
```js
// configure babel plugin in babel.config.js
// For users who use babel6, please manually import less file
module.exports = {
plugins: [
[

View File

@ -45,6 +45,7 @@ Vant 支持通过 babel 插件按需引入和手动引入两种方式,推荐
```js
// 在 babel.config.js 中配置按需引入样式源文件
// 注意babel6 不支持按需引入样式,请手动引入
module.exports = {
plugins: [
[