Coder Social home page Coder Social logo

tjt740 / javascript-tools-and-lodash-tools Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 6.35 MB

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

License: Mulan Permissive Software License, Version 2

HTML 26.83% JavaScript 0.68% TypeScript 68.27% Less 4.22%
angular ghpages javascript lodash monaco-editor typescript

javascript-tools-and-lodash-tools's Introduction

此项目是一些常用的JS函数 + Lodash方法的汇总

🍑

  • 🥐 现已支持模糊查询
  • 🍊 富文本编辑用的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

javascript-tools-and-lodash-tools's People

Contributors

tanjintao0307 avatar tjt740 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.