inula/packages/create-inula
stevending1st 3ad82f5fe4 !142 fix(createInula): Repair the address of the official website
* fix(createInula): Repair the address of the official website
2024-02-17 06:43:25 +00:00
..
bin first commit 2023-09-21 09:56:36 +08:00
lib !142 fix(createInula): Repair the address of the official website 2024-02-17 06:43:25 +00:00
.editorconfig first commit 2023-09-21 09:56:36 +08:00
.gitignore first commit 2023-09-21 09:56:36 +08:00
README.md first commit 2023-09-21 09:56:36 +08:00
index.js first commit 2023-09-21 09:56:36 +08:00
package.json [intl][create]<feat> 版本号升级 2023-12-19 11:23:44 +08:00

README.md

使用脚手架创建lnulaJS项目

步骤一: 启动Inula脚手架

在您需要创建项目的目录下执行以下命令:

npx create-inula <项目名>
步骤二: 选择需要项目模板

执行启动命令后,您将收到以下回显信息询问,可根据回显信息进行相应的输入:

Need to install the following packages:create-inula@1.0.0
Ok to proceed? (y) y
? Please select the template (Use arrow keys)
> Simple-app

在创建项目过程中脚手架提供了 Simple-app 模板供开发者选择(后续会加入更多模板)。

  • Simple-app已默认安装Inula开发者可以直接在项目中专注于核心代码的开发。
步骤三:选择打包方式

在创建项目过程中有两种打包方式供选择,您可以根据自己使用习惯选择

? Please select the build type (Use arrow keys)
 > webpack
   vite

如果您不知如何选择可分别参考Vite 文档以及webpack文档

至此可以使用Inula框架通过以下命令npm run start命令运行项目你会看到简单的inula的示例。当然你也可以基于inula框架构建您的web项目。