feat: add vite-plugin-component-placeholder plugin to support compone… - #289
Open
chouchouji wants to merge 1 commit into
Open
feat: add vite-plugin-component-placeholder plugin to support compone…#289chouchouji wants to merge 1 commit into
chouchouji wants to merge 1 commit into
Conversation
chouchouji
force-pushed
the
feat-component-placeholder
branch
2 times, most recently
from
September 26, 2025 03:59
c549024 to
6207aab
Compare
…ntPlaceholder for miniprogram
chouchouji
force-pushed
the
feat-component-placeholder
branch
from
September 26, 2025 11:05
6207aab to
485ef7d
Compare
Owner
|
感谢PR。现在 #285 说太臃肿,所以不方便直接合并。但是这些代码未来会放到 unibest 官网。谢谢 |
Author
Owner
|
要怎么使用呢?对小白友好的那种。 |
Author
在vite.config.js中引入此插件,然后配置一下就行了,可以参考 readme
|
Owner
|
这个占位组件 看起来不怎么用得上。能说说使用场景吗?具体一点的。 |
Author
跨分包组件引用,用来降低包体积的,多个分包想引用同一个组件,一般是把组件放主包,要是体积敏感的话,就放到其中一个分包中,其他的分包跨分包组件引用 |
Owner
|
这个是个好功能,最近忙,能我有空体验一下。感谢解答哈
飞鸽传书
***@***.***
…---Original---
From: ***@***.***>
Date: Wed, Oct 29, 2025 19:04 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [unibest-tech/unibest] feat: add vite-plugin-component-placeholder plugin to support compone… (PR #289)
chouchouji left a comment (feige996/unibest#289)
这个占位组件 看起来不怎么用得上。能说说使用场景吗?具体一点的。
跨分包组件引用,用来降低包体积的,多个分包想引用同一个组件,一般是把组件放主包,要是体积敏感的话,就放到其中一个分包中,其他的分包跨分包组件引用
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Author
|
@feige996 佬最近有时间测试一下这个插件嘛? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


…ntPlaceholder for miniprogram
close #286