Code Monkey home page Code Monkey logo

Comments (7)

ekxs0109 avatar ekxs0109 commented on July 23, 2024 1

运行的时候是远程的包,并且来自子服务。但是我第一次打包不知道为什么包含了 子服务的 页面。现在打包又不会了。我在学习下。 感谢解答

from gez.

lzxb avatar lzxb commented on July 23, 2024

可以啊,你是从哪里看到不能加载的?

from gez.

ekxs0109 avatar ekxs0109 commented on July 23, 2024

我是打包home那个案例,打包出来,实际上是有about的页面组件的代码。

from gez.

lzxb avatar lzxb commented on July 23, 2024

你截图给我看看你说的代码

from gez.

ekxs0109 avatar ekxs0109 commented on July 23, 2024

home案例里是直接将routes拼接的子项目的。
Screenshot - 2022-04-25 09 38 14
导致打包的时候实际是客户端是包含了子项目的路由对应的组件。
Screenshot - 2022-04-25 09 38 31

实际是如果home不走服务端渲染,是不是就是走的router-view的本地组件了。

from gez.

lzxb avatar lzxb commented on July 23, 2024

你要看这个文案是哪个服务开发的。

from gez.

lzxb avatar lzxb commented on July 23, 2024

你要区分清楚,到底是打包的时候,还是运行的时候下载的远程依赖

from gez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.