<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[本地开发npm包方法以及推送]]></title><description><![CDATA[<ul>
<li>1、生成本次的包名：npm init vite@latest app_input --template vue</li>
<li>2、cd app_input</li>
<li>3、npm install  （根据开发需要安装不同的包）</li>
<li>4、npm run dev</li>
<li>5、进行组件开发</li>
<li>6、切换上传包的私库地址： npm config set registry  <a href="https://repository.genostack.com/repository/npmhost/" rel="nofollow ugc">https://repository.genostack.com/repository/npmhost/</a></li>
<li>7、npm login （之前登录过无需登录）</li>
<li>8、npm publish --access public （将包推送到私库中，其他项目npm i app即可）</li>
</ul>
]]></description><link>http://an.forum.genostack.com/topic/930/本地开发npm包方法以及推送</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 09:37:10 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/930.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Jun 2023 09:12:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 本地开发npm包方法以及推送 on Fri, 07 Jul 2023 02:31:07 GMT]]></title><description><![CDATA[<p dir="auto">前端表单组件已经发布（app_input）<br />
使用方法：<br />
1、本地npm包切换源<br />
npm config set registry <a href="https://repository.genostack.com/repository/npm-group/" rel="nofollow ugc">https://repository.genostack.com/repository/npm-group/</a><br />
2、app_input依赖包（如果项目安装则可以忽视）<br />
@element-plus/icons-vue<br />
axios<br />
element-plus<br />
3、安装app_input<br />
npm install app_input<br />
4、使用：查看包的的readme文件</p>
]]></description><link>http://an.forum.genostack.com/post/2272</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2272</guid><dc:creator><![CDATA[zhangfanglin]]></dc:creator><pubDate>Fri, 07 Jul 2023 02:31:07 GMT</pubDate></item></channel></rss>