Skip to content

[vue] vue-cli默认是单页面的,那要弄成多页面该怎么办呢? #360

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

[vue] vue-cli默认是单页面的,那要弄成多页面该怎么办呢?

Activity

cainiao308

cainiao308 commented on Mar 2, 2020

@cainiao308

创建多个app?
app =new Vue({})
app2 = new Vue({})

ferrinweb

ferrinweb commented on Mar 4, 2020

@ferrinweb

iframe * n

kissy-xxy

kissy-xxy commented on Jul 15, 2020

@kissy-xxy

pages属性设置多个页面entry&template。

anotherten

anotherten commented on Nov 24, 2020

@anotherten

keep-alive

Luckyre

Luckyre commented on Apr 6, 2021

@Luckyre

动态获取entry和设置输出html-webpack-plugin 数量

Susie350

Susie350 commented on Sep 3, 2021

@Susie350

在vue.config.js配置文件下的pages配置项中配置多个页面,每个页面有一个对应的js入口

https://cli.vuejs.org/zh/config/#pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ferrinweb@haizhilin2013@kissy-xxy@Susie350@anotherten

        Issue actions

          [vue] vue-cli默认是单页面的,那要弄成多页面该怎么办呢? · Issue #360 · haizlin/fe-interview