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

Feat/4.x cli vite #243

Merged
merged 6 commits into from
Jan 29, 2024
Merged

Feat/4.x cli vite #243

merged 6 commits into from
Jan 29, 2024

Conversation

ZEJIA-LIU
Copy link
Contributor

No description provided.

docs/config-detail.md Outdated Show resolved Hide resolved
### h5.legacy

:::info
Taro v3.7.0 开始支持。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

版本不对吧

@@ -83,21 +83,35 @@ zip 包解压出单文件夹,文件夹内包含若干模板。

很多情况下需要为模板加入一些逻辑,从而根据不同的环境生成不同的模板内容。

开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler basePageFiles 字段的对象:
开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler basePageFiles 于 compiler 字段的对象:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

错别字

docs/template.md Outdated
@@ -83,21 +83,35 @@ zip 包解压出单文件夹,文件夹内包含若干模板。

很多情况下需要为模板加入一些逻辑,从而根据不同的环境生成不同的模板内容。

开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler basePageFiles 字段的对象:
开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler basePageFiles 于 compiler 字段的对象:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

错别字 于

docs/template.md Outdated Show resolved Hide resolved
@@ -106,12 +120,13 @@ const basePageFiles = ['/src/pages/index/index.jsx', '/src/pages/index/index.css
module.exports = {
handler,
basePageFiles,
compiler: ['webpack5', 'webpack4', 'vite']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该首字母大写

@ZEJIA-LIU ZEJIA-LIU merged commit d97782d into master Jan 29, 2024
1 of 2 checks passed
@ZEJIA-LIU ZEJIA-LIU deleted the feat/4.x-cli-vite branch January 29, 2024 09:42
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

Successfully merging this pull request may close these issues.

2 participants