Browse Source

:memo: update: readme -> 10.04

shiqi.li 6 years ago
parent
commit
1386113be1
2 changed files with 11 additions and 2 deletions
  1. 10 1
      README.md
  2. 1 1
      package.json

+ 10 - 1
README.md

@@ -12,7 +12,11 @@ npm install
 npm run example
 ```
 
-浏览器访问:http://localhost:3000/
+```
+http://localhost:3000/
+
+http://localhost:3000/page1.html
+```
 
 # 使用
 
@@ -22,6 +26,11 @@ npm run example
 
 2.引用 [tpanorama.js](/origin/tpanorama.js)
 
+```js
+    <script src="/origin/three.js"></script>
+    <script src="/origin/tpanorama.js"></script>
+```
+
 参考[/examples/page1.html](/examples/page1.html)
 
 ## 2.npm

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "tpanorama",
-  "version": "1.0.3",
+  "version": "1.0.4",
   "description": "全景标记,全景生成插件",
   "scripts": {
     "build": "babel src --out-dir lib",