浏览代码

Update 'doc/cors doc for sign up and sign in.org'

master
Vikram Shaw 6 年前
父节点
当前提交
543fff5660
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      doc/cors doc for sign up and sign in.org

+ 4
- 4
doc/cors doc for sign up and sign in.org 查看文件

@@ -118,7 +118,7 @@ For ~Sign-up~ create a file ~signup.cljs.edn~ and add these codes

*login.html*

#+BEGIN_EXAMPLE
#+BEGIN_SRC
<!DOCTYPE html>
<html>
<head>
@@ -132,10 +132,10 @@ For ~Sign-up~ create a file ~signup.cljs.edn~ and add these codes
<script src="/cljs-out/login-main.js" type="text/javascript"></script>
</body>
</html>
#+END_EXAMPLE
#+END_SRC
*signup.html*

#+BEGIN_EXAMPLE
#+BEGIN_SRC
<!DOCTYPE html>
<html>
<head>
@@ -149,7 +149,7 @@ For ~Sign-up~ create a file ~signup.cljs.edn~ and add these codes
<script src="/cljs-out/signup-main.js" type="text/javascript"></script>
</body>
</html>
#+END_EXAMPLE
#+END_SRC

5)Create a ~login.cljs~ file in ~src/cljs~ folder, create a form for ~username~ and ~password~ and add these codes for accessing the data from server side database ~(Stamp project)~
#+BEGIN_SRC


正在加载...
取消
保存