Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-mobile
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周奇琪
10 years ago
Commit
e2138873a407825b3b1ccf6344e5a73359b5d06c
1 parent
591d009b
加demo实例
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
examples/index.md
examples/index.md
0 → 100644
View file @
e213887
# Demo
---
## 引用方式
### seajs的路径
```
`html
<script src="../static/js/sea.js?nowrap"></script>
```
`
### 配置样式表的路径
```
`
<link rel="stylesheet" type="text/css" href="../public/css/index.css">
```
`
### 配置seajs
```
`javascript
seajs.config({
base: "/" //seajs加载器的js基础路径
});
```
`
### 界面调用
```
`javascript
var yohobuyMobile = seajs.use('index');
```
`
or
```
`javascript
var yohobuyMobile = require('index');
```
`
...
...
Please
register
or
login
to post a comment