根据组件文档进行开发
- 在src中新建组件名称对应目录,已大写字母开头
- js文件一个,css文件一个,可参考现有组件
- 在
index.js
文件中需要require
对应js,在index.css
中需要require
对应css - 可在
dev.js
中引入组件对应js css
,然后npm run dev
在开发是查看组件对应效果
Text
Here is a paragraph with bold text. This is some bold text. Here is a
paragraph with bold text. This is also some bold text.
Here is another one with italic text. This is some italic text. Here is
another one with italic text. This is some italic text.
Here is another one with struckout text. This is some struckout text.
Links
Autolink: http://example.com
Link: Example
Reference style link.
Images
Image:
Headers
First level title
Second level title
Third level title
Fourth level title
Fifth level title
Sixth level title
Title with link
Title with
Code
This
is
code
fence
Inline code span in a
paragraph.
var a = 1;
const obj = {
code: "0",
msg: "成功"
}
var a = 1;
const obj = {
code: "0",
msg: "成功"
}
This is a code block:
/**
* Sorts the specified array into ascending numerical order.
*
* <p>Implementation note: The sorting algorithm is a Dual-Pivot Quicksort
* by Vladimir Yaroslavskiy, Jon Bentley, and Joshua Bloch. This algorithm
* offers O(n log(n)) performance on many data sets that cause other
* quicksorts to degrade to quadratic performance, and is typically
* faster than traditional (one-pivot) Quicksort implementations.
*
* @param a the array to be sorted
*/
public static void sort(byte[] a) {
DualPivotQuicksort.sort(a);
}
Quotes
This is the first level of quoting.
This is nested blockquote.Back to the first level.
A list within a blockquote:
- asterisk 1
- asterisk 2
- asterisk 3
Formatting within a blockquote:
header
Link: Example
Html
This is inline <span>html</html>.
And this is an html block.
Column 1 | Column 2 |
---|---|
fdsafsad fdsafdsaffdsf |
Row 1 Cell 2 |
Row 2 Cell 1 | Row 2 Cell 2 |
Horizontal rules
_
Lists
Unordered list:
- asterisk 1
- asterisk 2
- asterisk 3
Ordered list:
- First
- Second
- Third
Mixed:
- First
Second:
- Fee
- Fie
- Foe
- Third
Tables:
Header 1 | Header 2 | Header 3 | Header 4 |
---|---|---|---|
默认左对齐 | 左对齐 | 右对齐 | 居中对齐 |
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。