zoukankan      html  css  js  c++  java
  • xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

    VSCode & code snippets

    
    {
        "JavaScript ES6 React Template": {
            "prefix": "js6r",
            "body": [
                ""use strict";",
                "",
                "/**",
                " * ",
                " * @author xgqfrms",
                " * @license MIT",
                " * @copyright xgqfrms",
                " * ",
                " * @description $2",
                " * @augments $3",
                " * @example $4",
                " * ",
                " */",
                "",
                "const $2Generator = ($5datas = [], debug = false) => {",
                "    let result = ``;",
                "    // do something...",
                "    return $7result;",
                "};",
                "",
                "",
                "",
                "export default $2;",
                "",
                "export {",
                "    $2,",
                "};",
                "",
            ],
            "description": "JavaScript ES6 React Template & code snippets!"
        }
    }
    
    
    
    {
        "CSS3 Template": {
            "prefix": "c3t",
            "body": [
                "@charset "UTf-8";",
                "",
                "/**",
                " * ",
                " * @author xgqfrms",
                " * @license MIT",
                " * @copyright xgqfrms",
                " * ",
                " * @description $1.css",
                " * ",
                " */",
                "",
                ":root {",
                "   --cololr: #000;",
                "   --default-cololr: #fff;",
                "   --new-cololr: #0f0;",
                "}",
            ],
            "description": "CSS3 Template & code snippets!"
        }
    }
    
    {
      "HTML5 Template": {
        "prefix": "h5t",
        "body": [
          "<!DOCTYPE html>",
          "<html lang="zh-Hans">",
          "<head>",
          "    <meta charset="UTF-8">",
          "    <meta name="viewport" content="width=device-width, initial-scale=1.0">",
          "    <meta http-equiv="X-UA-Compatible" content="ie=edge">",
          "    <meta name="author" content="xgqfrms">",
          "    <meta name="generator" content="VS code">",
          "    <title>$1</title>",
          "</head>",
          "<body>",
          "    <header>",
          "        <h1>$2</h1>",
          "    </header>",
          "    <main>",
          "        <section>",
          "            <a href="https://feiqa.xgqfrms.xyz/index.html">$3</a>",
          "        </section>",
          "        <article></article>",
          "    <main>",
          "    <footer>",
          "        <p>copyriht&copy; xgqfrms 2019</p>",
          "    </footer>",
          "</body>",
          "</html>"
        ],
        "description": "HTML5 Template & code snippets!"
      }
    }
    
    

    refs



    ©xgqfrms 2012-2020

    www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


  • 相关阅读:
    思科模拟器——常用命令
    思科模拟器——允许远程telnet连接控制路由器/交换机
    思科模拟器——使用路由器分割局域网
    如何将centos7作为DNS服务器
    Centos7设置grub密码保护
    curl提示不支持https协议解决方法
    Kettle入门--作业和转换的使用
    oracle命令导入SQL脚本
    centos7 部署elasticsearch
    Nginx通过Keepalived实现高可用
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/9513681.html
Copyright © 2011-2022 走看看