Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级到2.2.0,编译后找不到f2-tool.js #31

Closed
Miogaror opened this issue Nov 9, 2019 · 0 comments
Closed

升级到2.2.0,编译后找不到f2-tool.js #31

Miogaror opened this issue Nov 9, 2019 · 0 comments

Comments

@Miogaror
Copy link

Miogaror commented Nov 9, 2019

config/index.js

	weapp: {
        module: {},
        compile: {
            include: ['taro-f2']
        }
    }

src/components/line/line.js

import { F2Canvas } from "taro-f2"
import { fixF2 } from "taro-f2/dist/weapp/common/f2-tool.ts"
import F2 from '@antv/f2/lib/core'

错误

image

编译后的目录

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant