{"id":193414,"date":"2020-06-16T08:00:19","date_gmt":"2020-06-16T00:00:19","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=193414"},"modified":"2020-06-08T09:00:18","modified_gmt":"2020-06-08T01:00:18","slug":"useful-online-development-tools","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/useful-online-development-tools.html","title":{"rendered":"\u597d\u7528\u7684\u5728\u7ebf\u5f00\u53d1\u5de5\u5177"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u7f51\u4e0a\u53ef\u4ee5\u627e\u5230\u524d\u7aef\u5f00\u53d1\u793e\u533a\u8d21\u732e\u7684\u5927\u91cf\u5de5\u5177\uff0c\u8fd9\u7bc7\u6587\u7ae0\u5217\u51fa\u4e86\u6211\u6700\u559c\u6b22\u7684\u4e00\u4e9b\u5de5\u5177\uff0c\u8fd9\u4e9b\u5de5\u5177\u7ed9\u6211\u7684\u5de5\u4f5c\u5e26\u6765\u4e86\u8bb8\u591a\u4fbf\u5229\u3002
\n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
1. EnjoyCSS<\/strong><\/div>\n

\u8001\u5b9e\u8bf4\uff0c\u867d\u7136\u6211\u505a\u8fc7\u8bb8\u591a\u524d\u7aef\u5f00\u53d1\uff0c\u4f46\u6211\u5e76\u4e0d\u64c5\u957f CSS\u3002\u5f53\u6211\u9677\u5165\u56f0\u5883\u65f6\uff0cEnjoyCSS \u662f\u6211\u7684\u5927\u6551\u661f\u3002EnjoyCSS \u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u4ea4\u4e92\u754c\u9762\uff0c\u5e2e\u52a9\u6211\u8bbe\u8ba1\u5143\u7d20\uff0c\u7136\u540e\u81ea\u52a8\u8f93\u51fa\u76f8\u5e94\u7684 CSS \u4ee3\u7801\u3002<\/p>\n

\"\"<\/p>\n

EnjoyCSS \u53ef\u4ee5\u8f93\u51fa CSS\u3001LESs\u3001sCSS \u4ee3\u7801\uff0c\u5e76\u652f\u6301\u6307\u5b9a\u9700\u8981\u652f\u6301\u54ea\u4e9b\u6d4f\u89c8\u5668\u53ca\u5176\u6700\u4f4e\u7248\u672c\u3002\u5f00\u53d1\u7b80\u5355\u9875\u9762\u65f6\u7528\u8d77\u6765\u6bd4\u8f83\u65b9\u4fbf\uff0c\u4f46\u4e0d\u592a\u9002\u5408\u590d\u6742\u4e00\u70b9\u7684\u524d\u7aef\u9879\u76ee\uff08\u8fd9\u7c7b\u9879\u76ee\u5f80\u5f80\u9700\u8981\u5f15\u5165 CSS \u6846\u67b6\uff09\u3002<\/p>\n

2. Prettier Playground<\/strong><\/div>\n

Prettier \u662f\u4e00\u4e2a\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\uff0c\u652f\u6301\u683c\u5f0f\u5316 JavaScript \u4ee3\u7801\uff08\u5305\u62ec ES2017\u3001JSX\u3001Angular\u3001Vue\u3001Flow\u3001TypeScript \u7b49\uff09\u3002Prettier \u4f1a\u79fb\u9664\u4ee3\u7801\u539f\u672c\u7684\u6837\u5f0f\uff0c\u66ff\u6362\u4e3a\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\u7684\u6807\u51c6\u5316\u3001\u4e00\u81f4\u7684\u6837\u5f0f\u3002IDE \u5927\u591a\u652f\u6301 Prettier \u5de5\u5177\uff0c\u4e0d\u8fc7 Prettier \u4e5f\u6709\u5728\u7ebf\u7248\u672c\uff0c\u8ba9\u4f60\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u91cc\u683c\u5f0f\u5316\u4ee3\u7801\u3002<\/p>\n

\"\"<\/p>\n

\u5982\u679c\u5de5\u4f5c\u7535\u8111\u4e0d\u5728\u624b\u8fb9\uff0c\u4f7f\u7528\u79fb\u52a8\u7aef\u8bbe\u5907\u6216\u8005\u4e34\u65f6\u501f\u7528\u522b\u4eba\u7684\u7535\u8111\u67e5\u770b\u4ee3\u7801\u65f6\uff0cPrettier Playground \u975e\u5e38\u597d\u7528\u3002\u76f8\u6bd4\u5728 IDE \u6216\u7f16\u8f91\u5668\u4e0b\u4f7f\u7528 Prettier\uff0c\u4e2a\u4eba\u66f4\u63a8\u8350\u901a\u8fc7 git pre-commit hook \u914d\u7f6e Prettier\uff1ahook \u53ef\u4ee5\u4fdd\u8bc1\u6574\u4e2a\u56e2\u961f\u4f7f\u7528\u7edf\u4e00\u7684\u914d\u7f6e\uff0c\u514d\u53bb\u5404\u81ea\u5206\u522b\u914d\u7f6e IDE \u6216\u7f16\u8f91\u5668\u7684\u9ebb\u70e6\u3002\u5982\u679c\u662f\u8001\u9879\u76ee\uff0chook \u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u53ea\u683c\u5f0f\u5316\u6709\u6539\u52a8\u7684\u5355\u4e2a\u6587\u4ef6\u751a\u81f3\u6709\u6539\u52a8\u7684\u4ee3\u7801\u6bb5\uff0c\u907f\u514d\u5728 IDE \u6216\u7f16\u8f91\u5668\u4e0b\u4f7f\u7528 Prettier \u65f6\u4e0d\u5c0f\u5fc3\u683c\u5f0f\u4e86\u5927\u91cf\u4ee3\u7801\uff0c\u6df9\u6ca1\u4e86 commit \u7684\u4e3b\u8981\u6539\u52a8\uff0c\u8ba9 review \u4ee3\u7801\u53d8\u5f97\u5341\u5206\u75db\u82e6\u3002<\/p>\n

3. Postman<\/strong><\/div>\n

Postman \u4e00\u76f4\u5728\u6211\u7684\u5f00\u53d1\u5de5\u5177\u7bb1\u91cc\uff0c\u6d4b\u8bd5\u540e\u7aef API \u63a5\u53e3\u65f6\u975e\u5e38\u597d\u7528\u3002GET\u3001POST\u3001DELETE\u3001OPTIONS\u3001PUT \u8fd9\u4e9b\u65b9\u6cd5\u90fd\u652f\u6301\u3002\u6beb\u65e0\u7591\u95ee\uff0c\u4f60\u5e94\u8be5\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\u3002<\/p>\n

\"\"<\/p>\n

Postman \u4e4b\u5916\uff0cInsomnia \u4e5f\u662f\u5f88\u6d41\u884c\u7684 REST API \u6d4b\u8bd5\u5de5\u5177\uff0c\u4eae\u70b9\u662f\u652f\u6301 GraphQL\u3002\u4e0d\u8fc7 Postman \u4ece \u53bb\u5e74\u590f\u5929\u53d1\u5e03\u7684 v7.2 \u8d77\u4e5f\u652f\u6301\u4e86 GraphQL\u3002<\/p>\n

4. StackBlitz<\/strong><\/div>\n

Chidume Nnamdi \u76db\u8d5e\u8fd9\u662f\u6bcf\u4e2a\u7528\u6237\u6700\u559c\u6b22\u7684\u5728\u7ebf IDE\u3002StackBlitz \u5c06\u5927\u5bb6\u6700\u559c\u6b22\u3001\u6700\u5e38\u7528\u7684 IDE Visual Studio Code \u642c\u8fdb\u4e86\u6d4f\u89c8\u5668\u3002<\/p>\n

StackBlitz \u652f\u6301\u4e00\u952e\u914d\u7f6e Angular\u3001React\u3001Ionic\u3001TypeScript\u3001RxJs\u3001svelte \u7b49 JavaScript \u6846\u67b6\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u53ea\u9700\u51e0\u79d2\u4f60\u5c31\u53ef\u4ee5\u5f00\u59cb\u5199\u4ee3\u7801\u4e86\u3002<\/p>\n

\u6211\u89c9\u5f97\u8fd9\u4e2a\u5728\u7ebf IDE \u5f88\u6709\u7528\uff0c\u7279\u522b\u662f\u53ef\u4ee5\u5728\u7ebf\u5c1d\u8bd5\u4e00\u4e9b\u6837\u4f8b\u4ee3\u7801\u6216\u8005\u5e93\uff0c\u5426\u5219\u4ec5\u4ec5\u5c1d\u8bd5\u4e00\u4e9b\u65b0\u7279\u6027\u5c31\u9700\u8981\u82b1\u5f88\u591a\u65f6\u95f4\u5728\u65b0\u9879\u76ee\u521d\u59cb\u5316\u914d\u7f6e\u4e0a\u3002\u6709\u4e86 StackBlitz\uff0c\u65e0\u9700\u5728\u672c\u5730\u4ece\u5934\u642d\u5efa\u73af\u5883\uff0c\u82b1\u4e0a\u51e0\u5206\u949f\u5c31\u53ef\u4ee5\u8bd5\u7528\u4e00\u4e2a NPM \u5305\u3002\u5f88\u68d2\uff0c\u4e0d\u662f\u5417\uff1f<\/p>\n

\"\"<\/p>\n

\u5fae\u8f6f\u5b98\u65b9\u5176\u5b9e\u4e5f\u63d0\u4f9b\u4e86\u5728\u7ebf\u7248\u672c\u7684 VSCode\uff0c\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u5185\u4f7f\u7528 VSCode\uff0c\u5e76\u4e14\u652f\u6301\u5f00\u53d1 Node.js \u9879\u76ee\uff08\u57fa\u4e8e Azure\uff09\u3002\u4e0d\u8fc7 StackBlitz \u66f4\u4e13\u6ce8\u4e8e\u4f18\u5316\u524d\u7aef\u5f00\u53d1\u4f53\u9a8c\uff0c\u754c\u9762\u66f4\u52a0\u76f4\u89c2\u4e00\u70b9\uff0c\u4e5f\u63a8\u51fa\u4e86 beta \u7248\u672c\u7684 Node.js \u652f\u6301\uff08\u57fa\u4e8e GCP\uff0c\u9700\u8981\u586b\u8868\u7533\u8bf7\uff09\u3002<\/p>\n

5. Bit.dev<\/strong><\/div>\n

\u8f6f\u4ef6\u5f00\u53d1\u7684\u57fa\u672c\u539f\u5219\u4e4b\u4e00\u5c31\u662f\u4ee3\u7801\u590d\u7528\u3002\u4ee3\u7801\u590d\u7528\u51cf\u5c11\u4e86\u5f00\u53d1\u91cf\uff0c\u8ba9\u4f60\u4e0d\u7528\u4ece\u5934\u5f00\u53d1\u7ec4\u4ef6\u3002<\/p>\n

\u8fd9\u6b63\u662f Bit.dev \u505a\u7684\u4e8b\uff0c\u5206\u4eab\u53ef\u91cd\u7528\u7684\u7ec4\u4ef6\u548c\u7247\u6bb5\uff0c\u964d\u4f4e\u5f00\u53d1\u91cf\uff0c\u52a0\u901f\u5f00\u53d1\u8fdb\u7a0b\u3002<\/p>\n

\u9664\u4e86\u516c\u5f00\u5206\u4eab\uff0c\u5b83\u8fd8\u652f\u6301\u5728\u56e2\u961f\u5206\u4eab\uff0c\u8ba9\u56e2\u961f\u534f\u4f5c\u66f4\u65b9\u4fbf\u3002<\/p>\n

\u6b63\u5982 Bit.dev \u7684\u53e3\u53f7\u300c\u7ec4\u4ef6\u5373\u8bbe\u8ba1\u4f53\u7cfb\u3002\u534f\u540c\u5f00\u53d1\u66f4\u597d\u7684\u7ec4\u4ef6\u3002\u300d\u6240\u8a00\uff0cBit.dev \u53ef\u4ee5\u7528\u6765\u521b\u5efa\u8bbe\u8ba1\u4f53\u7cfb\uff0c\u5141\u8bb8\u56e2\u961f\u5185\u7684\u5f00\u53d1\u8005\u548c\u8bbe\u8ba1\u5e08\u4e00\u8d77\u534f\u4f5c\uff0c\u4ece\u5934\u642d\u5efa\u4e00\u5957\u8bbe\u8ba1\u4f53\u7cfb\u3002<\/p>\n

Bit.dev \u76ee\u524d\u652f\u6301 React\u3001Vue\u3001Angular\u3001Node \u53ca\u5176\u4ed6 JavaScript \u6846\u67b6\u3002<\/p>\n

\"\"<\/p>\n

\u5728 Bit.dev \u4e0a\u4e0d\u4ec5\u53ef\u4ee5\u641c\u7d22\u7ec4\u4ef6\uff0c\u8fd8\u53ef\u4ee5\u76f4\u63a5\u67e5\u770b\u7ec4\u4ef6\u7684\u4f9d\u8d56\uff0c\u6d4f\u89c8\u7ec4\u4ef6\u7684\u4ee3\u7801\uff0c\u751a\u81f3\u5728\u7ebf\u7f16\u8f91\u4ee3\u7801\u5e76\u67e5\u770b\u9884\u89c8\u6548\u679c\uff01\u9009\u597d\u7ec4\u4ef6\u540e\u53ef\u4ee5\u901a\u8fc7 Bit.dev \u7684\u547d\u4ee4\u884c\u5de5\u5177 bit \u5728\u672c\u5730\u9879\u76ee\u5f15\u5165\u7ec4\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 npm\u3001yarn \u5f15\u5165\u7ec4\u4ef6\u3002<\/p>\n

6. CanIUse<\/strong><\/div>\n

CanIUse\u662f\u975e\u5e38\u597d\u7528\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u67e5\u770b\u5404\u5927\u6d4f\u89c8\u5668\u5bf9\u67d0\u4e2a\u7279\u6027\u7684\u652f\u6301\u7a0b\u5ea6\u3002<\/p>\n

\u6211\u8fc7\u53bb\u7ecf\u5e38\u78b0\u5230\u81ea\u5df1\u5f00\u53d1\u7684\u5e94\u7528\u7684\u4e00\u4e9b\u529f\u80fd\u5728\u5176\u4ed6\u6d4f\u89c8\u5668\u4e0b\u4e0d\u652f\u6301\u7684\u60c5\u51b5\u3002\u6bd4\u5982\u6211\u7684\u4f5c\u54c1\u96c6\u9879\u76ee\u4f7f\u7528\u7684\u67d0\u4e2a\u7279\u6027\u5728 Safari \u4e0b\u4e0d\u652f\u6301\uff0c\u76f4\u5230\u9879\u76ee\u4e0a\u7ebf\u51e0\u4e2a\u6708\u540e\u6211\u624d\u610f\u8bc6\u5230\u3002\u8fd9\u4e9b\u7ecf\u9a8c\u6559\u8bad\u8ba9\u6211\u610f\u8bc6\u5230\u9700\u8981\u68c0\u67e5\u6d4f\u89c8\u5668\u517c\u5bb9\u6027\u3002<\/p>\n

\u6211\u4eec\u6765\u770b\u4e00\u4e2a\u4f8b\u5b50\u5427\u3002\u54ea\u4e9b\u6d4f\u89c8\u5668\u652f\u6301 WebP \u56fe\u50cf\u683c\u5f0f\uff1f<\/p>\n

\"\"<\/p>\n

\u5982\u4f60\u6240\u89c1\uff0cSafari \u548c IE \u76ee\u524d\u4e0d\u652f\u6301 WebP\u3002\u8fd9\u610f\u5473\u7740\u9700\u8981\u4e3a\u4e0d\u517c\u5bb9\u7684\u6d4f\u89c8\u5668\u63d0\u4f9b\u56de\u9000\u9009\u9879\uff0c\u6bd4\u5982\uff1a<\/p>\n

<picture>\r\n    <source srcset=\"img\/awesomeWebPImage.webp\" type=\"image\/webp\">\r\n    <source srcset=\"img\/creakyOldJPEG.jpg\" type=\"image\/jpeg\">\r\n    <img src=\"img\/creakyOldJPEG.jpg\" alt=\"Alt Text!\">\r\n<\/picture>\r\n<\/pre>\n

CanIUse \u8fd8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e0b\u4f7f\u7528\uff0c\u4f8b\u5982\uff0c\u5728\u547d\u4ee4\u884c\u4e0b\u67e5\u770b WebP \u56fe\u50cf\u683c\u5f0f\u7684\u6d4f\u89c8\u5668\u517c\u5bb9\u6027\uff1acaniuse webp\uff08\u8fd0\u884c\u547d\u4ee4\u524d\u9700\u8981\u4e8b\u5148\u901a\u8fc7 npm install -g caniuse-cmd\u5b89\u88c5\u547d\u4ee4\u884c\u5de5\u5177\u3002<\/p>\n

\"\"<\/p>\n

* Photo by Dean Pugh on Unsplash<\/p>\n

\u5de5\u5177\u94fe\u63a5\uff1a<\/p>\n

    EnjoyCSS\uff1ahttps:\/\/enjoycss.com\/<\/ol>\n
      Prettier \uff1ahttps:\/\/prettier.io\/<\/ol>\n
        Postman\uff1ahttps:\/\/www.postman.com\/<\/ol>\n
          StackBlitz\uff1ahttps:\/\/stackblitz.com\/<\/ol>\n
            Bit.dev\uff1ahttps:\/\/bit.dev\/<\/ol>\n
              CanIUse\uff1ahttps:\/\/caniuse.com\/<\/ol>\n","protected":false},"excerpt":{"rendered":"

              \u8001\u5b9e\u8bf4\uff0c\u867d\u7136\u6211\u505a\u8fc7\u8bb8\u591a\u524d\u7aef\u5f00\u53d1\uff0c\u4f46\u6211\u5e76\u4e0d\u64c5\u957f CSS\u3002\u5f53\u6211\u9677\u5165\u56f0\u5883\u65f6\uff0cEnjoyCSS \u662f\u6211\u7684\u5927\u6551\u661f\u3002Enjo […]<\/p>\n","protected":false},"author":1329,"featured_media":193434,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-193414","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/193414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=193414"}],"version-history":[{"count":14,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/193414\/revisions"}],"predecessor-version":[{"id":193446,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/193414\/revisions\/193446"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/193434"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=193414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=193414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=193414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}