mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
test
This commit is contained in:
parent
bc8e995956
commit
03256c9f71
@ -1,3 +1,5 @@
|
||||
{
|
||||
"sample": "./packages/sample/index.js"
|
||||
"sample": "./packages/sample/index.js",
|
||||
"test": "./packages/test/index.js",
|
||||
"test2": "./packages/test2/index.js"
|
||||
}
|
||||
|
8
packages/test/CHANGELOG.md
Normal file
8
packages/test/CHANGELOG.md
Normal file
@ -0,0 +1,8 @@
|
||||
## 0.0.2 (2017-01-20)
|
||||
|
||||
* 改了bug A
|
||||
* 加了功能B
|
||||
|
||||
## 0.0.1 (2017-01-10)
|
||||
|
||||
* 第一版
|
26
packages/test/README.md
Normal file
26
packages/test/README.md
Normal file
@ -0,0 +1,26 @@
|
||||
# @youzan/<%= name %>
|
||||
|
||||
!!! 请在此处填写你的文档最简单描述 !!!
|
||||
|
||||
[![version][version-image]][download-url]
|
||||
[![download][download-image]][download-url]
|
||||
|
||||
[version-image]: http://npm.qima-inc.com/badge/v/@youzan/<%= name %>.svg?style=flat-square
|
||||
[download-image]: http://npm.qima-inc.com/badge/d/@youzan/<%= name %>.svg?style=flat-square
|
||||
[download-url]: http://npm.qima-inc.com/package/@youzan/<%= name %>
|
||||
|
||||
## Demo
|
||||
|
||||
## Usage
|
||||
|
||||
## API
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| className | 自定义额外类名 | string | '' | '' |
|
||||
|
||||
|
||||
|
||||
|
||||
## License
|
||||
[MIT](https://opensource.org/licenses/MIT)
|
3
packages/test/index.js
Normal file
3
packages/test/index.js
Normal file
@ -0,0 +1,3 @@
|
||||
import SampleComponent from './src/main';
|
||||
|
||||
export default SampleComponent;
|
10
packages/test/package.json
Normal file
10
packages/test/package.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "@youzan/your-component-name",
|
||||
"version": "0.0.1",
|
||||
"description": "vue component",
|
||||
"main": "./lib/index.js",
|
||||
"author": "who r u",
|
||||
"license": "MIT",
|
||||
"devDependencies": {},
|
||||
"dependencies": {}
|
||||
}
|
14
packages/test/src/main.vue
Normal file
14
packages/test/src/main.vue
Normal file
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div>Hello {{ name }}</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'SampleComponent',
|
||||
data() {
|
||||
return {
|
||||
name: 'World'
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user