Skip to content

Commit

Permalink
fix(okam-cli): fix useVuePrefix config
Browse files Browse the repository at this point in the history
  • Loading branch information
xhong0 committed Jan 23, 2019
1 parent a00ec81 commit 0a66749
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/okam-cli/templates/base/scripts/base.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/**
* @file Build mini program base config
* @author ${author|raw}
*
* @see https://ecomfe.github.io/okam/#/build/index
*/

'use strict';
Expand All @@ -17,10 +19,10 @@ module.exports = {
depDir: 'src/common'
},
component: {
// vue v- 前缀支持, 默认为 false
useVuePrefix: true,
extname: '${sfcExt}',
template: {
// vue v- 前缀支持, 默认为 false
useVuePrefix: true,
// 标签转换配置项
transformTags: {
}
Expand All @@ -29,14 +31,14 @@ module.exports = {
// 此处没用上的功能可自行精简
framework: [
'data',
// 依赖 data
// watch 依赖 data
'watch',
// 快应用 不支持
// 快应用 不支持 model
'model',
// touttiao 不支持
// 头条 不支持 filter
'filter',
<% if: ${redux} %>
// 依赖 data
// redux 依赖 data
'redux',
<% /if %>
'behavior',
Expand Down

0 comments on commit 0a66749

Please sign in to comment.