当前位置: 首页 > news >正文

如何设定网站关键词dede做英文网站优化

如何设定网站关键词,dede做英文网站优化,网站开发 有哪些优化功能,手机网站cms1. 准备组件 2. 创建打包文件夹及部分配置文件 创建 文件夹app-legalentities-root拷贝组件源文件到新的文件夹app-legalentities中创建文件 .npmrc registry发布地址always-authtrue创建文件 ng-package.json {$schema: ./node_modules/ng-packagr/ng-pac…1. 准备组件 2. 创建打包文件夹及部分配置文件 创建 文件夹app-legalentities-root拷贝组件源文件到新的文件夹app-legalentities中创建文件 .npmrc registry发布地址always-authtrue创建文件 ng-package.json {$schema: ./node_modules/ng-packagr/ng-package.schema.json,lib: {entryFile: public_api.ts}}创建文件 package.json {name: xxx-xx-test,version: 0.0.9,scripts: {ng: ng,test: ng test,packagr: ng-packagr -p ng-package.json},private: true,dependencies: {angular/animations: ^18.0.0,angular/common: ^18.0.0,angular/compiler: ^18.0.0,angular/core: ^18.0.0,angular/router: ^18.0.0,ng-zorro-antd: ^18.0.1,raise-ssh-test: file:,rxjs: ~7.8.0,tslib: ^2.3.0,zone.js: ~0.14.3},devDependencies: {angular/animations: ^18.0.0,angular/common: ^18.0.0,angular/compiler: ^18.0.0,angular/core: ^18.0.0,angular/router: ^18.0.0,rxjs: ~7.8.0,tslib: ^2.3.0,zone.js: ~0.14.3} } 创建文件 public_api.ts export * from ./app-legalentities/app-legalentities.component; export * from ./app-legalentities/app-legalentities.service;3. 修改配置文件 修改 public_api.ts以下内容为导出的模块、service、modal等 export * from ./app-legalentities/app-legalentities.component; export * from ./app-legalentities/app-legalentities.service;修改 package.json name: app-legalentities-root, // 当前组件打包文件夹名称version: 0.0.1, // 当前组件版本每次发布后下次发布前版本号1scripts: {...},dependencies: {angular/animations: ^18.0.0, // 公共angular/common: ^18.0.0, //公共angular/compiler: ^18.0.0, //公共angular/core: ^18.0.0, //公共angular/router: ^18.0.0, //公共ng-zorro-antd: ^18.0.1, // 当前组件依赖包rxjs: ~7.8.0, //公共tslib: ^2.3.0, //公共zone.js: ~0.14.3 //公共},4. down依赖包和安装打包指令 使用npm i 安装包 执行 npm i ng-packagr //安装打包命令 npm i ng-packagr配置 package.json 文件,删除 dependencies 和 devDependencies中的内容 {name: app-legalentities-root, // 修改打包的名字version: 0.0.2, // 版本号 1scripts: {ng: ng,test: ng test,packagr: ng-packagr -p ng-package.json //配置打包命令},private: false // 这个要修改为false下面的图忘记改了 }5. 打包开始-生成dist文件 执行 npm run packagr 生成dist文件 npm run packagr进入dist 文件目录-执行 npm pack 生成一个压缩文件 npm pack6. 安装vsts-npm-auth和配置 在app-legalentities-root文件夹下 安装 vsts-npm-auth npm install -g vsts-npm-auth --registry https://registry.npmjs.com --always-auth false在dist根目录下创建文件.npmrc内容同2.3在dist文件夹中配置vsts-npm-auth vsts-npm-auth -config .npmrc7. 发布打包文件 执行指令 npm publish npm publish8. 引入自定义组件 在使用组件的根目录下即跟package.json同级创建文件.npmrc内容同2.3 安装组件 npm i app-country-select0.0.1 npm i app-country-select0.0.1遇到的问题 ‘npm run packagr’ 打包报错了 解决方案将 angular框架的 app-legalentities-root文件夹移到单独的位置首先删除已经安装好的依赖包然后执行第四步
http://www.hkea.cn/news/14408421/

相关文章:

  • 做外贸进国外网站优化教程网官网
  • 智慧团建网站几点关闭手机怎样建个人网站
  • 悠悠我心的个人网站素材佛山百度推广电话
  • 哈尔滨市香坊区建设局网站梁山网站建设价格
  • html5网站制作实战用jquery制作网页
  • 网站打开乱码华为云建设网站需要域名吗
  • 什么软件可以做图片设计宜昌seo优化
  • 画中画有哪些网站可以做南宁本地网站设计
  • 海参企业网站怎么做手游网站建设方案预算
  • 30天网站建设 视频教程播州区建设局网站
  • 桂林做网站公司成都cim软件公司
  • 深圳seo优化推广公司win7优化工具哪个好用
  • 佛山网站制作系统建设商务网站ppt
  • 北京网站建设设计哪些网站是做货源的
  • 网站建设公司行业描述填什么wordpress支付代收
  • 怎么弄数据库备份做网站做图素材网站开哪个vip好
  • 网站建站案例网页设计主题及图片
  • 做ppt的模板网站杭州人防质监站网址
  • 社保门户网站建设方案佛山设计公司
  • 阆中市网站建设服务菠菜网站建设条件
  • 长沙网站制作首页域名权重是什么意思
  • 学校网站建设工作内容游戏的网站策划应该怎么做
  • 携程网站的会计工作怎么做wordpress协同插件
  • 网站源码检测怎么制作微信公众号文章内容
  • 网页设计建站建设部网站电话
  • 企业英文网站建设携程的网站建设项目规划书
  • qq临时会话网站重庆公司网站制作公司
  • 电子商务网站中的信息技术阿里巴巴视频网站设计
  • 深圳品牌网站制作报价贵阳网页设计培训班
  • 海外网站域名网站建设专员招聘