Giter Club home page Giter Club logo

san-website's Introduction

San Website

prepare

$ npm i

preview

# npm start
hexo s

deploy

# npm run deploy
$ hexo deploy

给 San 文档做贡献

San 是一个传统的 MVVM 组件框架,官网地址 https://baidu.github.io/san/

如果你在使用 San 过程中遇到任何问题,请通过 GitHub :https://github.com/baidu/san 给我们提 Issue ; 如果你在看 San 文档的过程中发现任何问题,可以通过文档 GitHub :https://github.com/baidu/san-website 给我们提 Issue ,或者在相应位置修改后发起 PR; 当然我们非常欢迎您在实践 San 框架过程中,有任何实践经验或总结文档,可以通过 PR 的方式提交到文档 GitHub :https://github.com/baidu/san-website , 经过我们 review 后的文档会合入 San 的官方文档中。

San 文档 PR 规范

  1. 提交前的 fork 同步更新操作:每次 PR 前请进行 fork 同步更新操作,避免产生冲突。

  2. 文档内容: 必须包含对实践问题的原理分析总结,包含实际的 demo,demo 的编写请使用 codepen,最后将其嵌入到文档中,具体详情及嵌入方式请见例子:https://baidu.github.io/san/practice/traverse-object/

  3. 实践类文档项目路径

  4. PR 标题与内容:PR 标题和内容,请对文档进行详细说明,并提供文档的最终截图。

有任何文档问题可以给我们提 Issue

san-website's People

Contributors

andycall avatar daaaabeen avatar dafrok avatar dependabot[bot] avatar dualwield avatar echodis avatar erik168 avatar errorrik avatar harttle avatar ice-zjchen avatar jiangjiu avatar jinzhan avatar jinzhubaofu avatar ksky521 avatar leuisken avatar lohoyo avatar meixg avatar mly-zju avatar naatgit avatar peterpanzh avatar rayjune avatar shinyina avatar sw811 avatar x-jray avatar xhong0 avatar xuexb avatar yutianmidori avatar zhanfang avatar zhangjingfeng avatar zzzzzb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

san-website's Issues

san文档pr规范

san是一个传统的MVVM组件框架,官网地址https://ecomfe.github.io/san/

如果你在使用san过程中有任何问题,请通过github:https://github.com/ecomfe/san 给我们提issue;
如果你在看你san文档的过程中发现任何问题,可以通过文档github:https://github.com/ecomfe/san-website, 给我们提issue,或者在相应位置修改后发起pr;
当然我们非常欢迎您在实践san框架过程中,有任何实践经验和总结文档,可以通过pr的方式提交到文档github:https://github.com/ecomfe/san-website, 经过我们review后的文档会合入san的官方文档中

san文档pr规范

  1. 提交前的fork同步更新操作:每次pr前请进行fork同步更新操作,避免产生冲突

  2. 文档内容: 必须包含对实践问题的原理分析总结,包含实际的demo,demo的编写请使用codepen,最后将其嵌入到文档中,具体详情及嵌入方式请见例子:
    https://ecomfe.github.io/san/practice/traverse-object/

  3. 实践类文档项目路径

    • 添加文档可以往这里发pr

         https://github.com/ecomfe/san-website/tree/master/source/_posts/practice ,
      
    • 链接是手工加

        https://github.com/ecomfe/san-website/blob/master/themes/san/layout/practice.ejs
      
  4. pr标题与内容:pr标题和内容,请对文档进行详细说明,并提供文档的最终截图

有任何文档问题可以给我们提issue

文档的小错误

image

md文件中的delimiters和hexo的delimiters冲突了,导致被当做变量给解析了

bind-value无法实现输入框绑定

表单输入框一节中bind-value无法实现绑定,代码示例如下:

var MyApp = san.defineComponent({
    template: `
    <div>
        <input type="text" bind-value="name">
        <p>{{= name =}}</p>
    </div>`,

    initData: function () {
        return {
            name: 'San'
        }
    }
});

var myApp = new MyApp();
myApp.attach(document.body);

[但是看了下后面的内容,比如select一节, 你们想表达的意思似乎就是这种插值方法:

 <input type="text" value="{= name =}">

image

能否clone下来san官网的代码,本地阅读api?

有的时候网速不太好,阅读san的api,会比较费劲;今天clone了san的代码,打算在本地跑一下,阅读api,但是不知道在哪里看?能否像ant-design之类的一样,clone下来,直接一跑就可以看啦?

Translate zh_CN to English

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.