Socket
Socket
Sign inDemoInstall

create-qiankun

Package Overview
Dependencies
39
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-qiankun

An easy way to start a qiankun project


Version published
Maintainers
1
Created

Readme

Source

@qiankunjs/create-qiankun

@qiankunjs/create-qiankun 是一个为 qiankun 微前端框架设计的脚手架功能。旨在快速启动示例项目,方便开发者快速上手。

功能

  • 支持选择一个或多个子应用来创建一个新的项目
  • 支持主,子应用路由模式 (hash, history) 选择
  • 支持一键生成 npm/yarn/pnpm/pnpm workspace 工程
  • 注入启动应用脚本以及端口冲突检测

环境要求

  1. 建议使用 Node.js 版本 v18 或更高版本。,推荐使用 fnm 管理 node 版本

安装

使用 npm:

npx create-qiankun@latest

或使用 yarn:

yarn create qiankun@latest

或使用 pnpm:

pnpm dlx create-qiankun@latest

使用

模板列表

主应用模板

模板名称
React18+Webpack
Vue3+Webpack
React18+umi

子应用模板

模板名称
React18+Webpack
React16+Webpack
Vue3+Webpack
Vue2+Webpack❗ 在 pnpm workspace 有问题
Vite+Vue3🚧 建设中
Vite+React18🚧 建设中

贡献

欢迎任何形式的贡献!请提交 PR 或开启 issue 讨论。

许可证

MIT

FAQs

Last updated on 08 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc