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

关于基于 @vue/cli 创建的项目问题 #14

Open
xujz520 opened this issue Jun 14, 2020 · 1 comment
Open

关于基于 @vue/cli 创建的项目问题 #14

xujz520 opened this issue Jun 14, 2020 · 1 comment

Comments

@xujz520
Copy link

xujz520 commented Jun 14, 2020

demo:https://github.com/Tencent/kbone/tree/develop/examples/demo4
插件:https://github.com/Tencent/kbone/tree/develop/packages/vue-cli-plugin-kbone

Originally posted by @JuneAndGreen in #13 (comment)

@xujz520
Copy link
Author

xujz520 commented Jun 14, 2020

kbone/examples/demo4/vue.config.js

module.exports = {
    pages: {
        page1: 'src/page1/main.js',
        page2: {
            entry: 'src/page2/main.js',
        },
        page3: 'src/page3/main.js',
    }
}
  1. 希望在H5中是单页应用, 在小程序中是多页应用
  2. 需要自定义 app.js 和 app.wxss

基于以上两点需求该如何配置?

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