Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🍌常用的JavaScript函数和Lodash函数🥝

License

NotificationsYou must be signed in to change notification settings

tjt740/JavaScript-tools-and-Lodash-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍑

  • 🥐 现已支持模糊查询
  • 🍊 富文本编辑用的Monaco Editor编辑器
  • 🥑 Angular-cli v13.2.3
  • 🚶 不定时更新...

如何将项目部署到Github Pages上

  1. cd进入仓库里创建的angular项目
 gongdao@gongdaodeMacBook-Pro JavaScript-tool-function % cd javascript-tools
  1. 在angular项目里安装ghpages插件
 ng add angular-cli-ghpages
  1. 构建部署(deploy)
 ng deploy --base-href=https://[用户名].github.io/[仓库名(不是项目名)]/  ng deploy --base-href=https://tjt740.github.io/JavaScript-tools-and-Lodash-tools/
  1. 在Github中的Settings 中的选择Pages

  2. 选择gh-pages 分支,/root,然后Save

  3. 点击链接【完成】​​

PS: 最好每次都把新创建的分支合到master上再部署到Github Pages

简化【打包+发布】命令

在package.json文件中添加:

 "github:ghpages":"ng deploy --base-href=https://tjt740.github.io/JavaScript-tools-and-Lodash-tools/"

在项目中执行简化后的【打包+发布】命令

  npm run github:ghpages

About

🍌常用的JavaScript函数和Lodash函数🥝

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp