1.1.68016 • Published 5 years ago

ww-library-ve v1.1.68016

Weekly downloads
70
License
-
Repository
-
Last release
5 years ago

安装

npm install

启动

npm run dev

打包

npm run build

发布npm

1.修改package.json 的version,规则一般是+1 2.npm login 3.输入用户名: pangyanli (npm用户信息也可以自己去注册) 4.输入密码: pyl3363 (npm用户信息也可以自己去注册) 5.输入邮箱: 995051649@qq.com (npm用户信息也可以自己去注册) 6.npm publish

项目如何调用公共npm包?

1.npm uninstall ww-library 2.npm install ww-library@latest 3.项目中,增加以下两处 js:

template:

A项目引用公共npm包样式问题?

可以引用npm包dist/style.css
也可以把样式写在A项目里
建议第二种:基础npm包的样式在A项目里本来就有一套 没必要重复写
1.1.68016

5 years ago

1.1.68015

5 years ago

1.1.68014

5 years ago

1.1.68013

5 years ago

1.1.68012

5 years ago

1.1.68011

5 years ago

1.1.68010

5 years ago

1.1.68009

5 years ago

1.1.68008

5 years ago

1.1.68007

5 years ago

1.1.68006

5 years ago

1.1.68005

5 years ago

1.1.68004

5 years ago

1.1.68003

5 years ago

1.1.68002

5 years ago

1.1.68001

5 years ago

1.1.68000

5 years ago