vue引入链接
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
使用 jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
使用 unpkg CDN:
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
简单示例
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
[v-clock] {
display: none;
}
</style>
</head>
<body>
<div id="app" v-clock>
<div>{
{info.name}}</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/d