🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@para-ui/template

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@para-ui/template

Powered by Para FED

latest
npmnpm
Version
0.0.3
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

Para-Ui-Template

开发时启动

npm start --rule=xxx

其中,rule 参数为你要启动的页面(src 下的路径),例如npm start --rule=A001,默认会找到 src 下的 A001 下的 index.tsx 文件,如果项目中入口文件不是 index,则需补全,例如npm run start --rule=A001/demo,则会找到 src 下 A001 下的 demo.tsx 文件(不推荐)

也支持启动多个页面,启动方式同上,多页面用逗号隔开,例如: npm start --rule=A001,A002

项目启动后可访问 localhost:9000/xxx.html (注意:多页面配置所以要自己写上启动的 html)

如果不加 rule 参数,则启动整个项目

打包项目

npm run build

如果只打包一个文件可以加--rule=xxx,打包规则同上,不加则全量打包

FAQs

Package last updated on 11 Nov 2021

Did you know?

Socket

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