npm
npm install spotlingth-ui --save
标签引入
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<meta charset="utf-8">
<title>spotlight</title>
// 引入 css 样式
<link rel="stylesheet" href="http://链接未想好">
</head>
<body>
<div id="app">
hello word
</div>
// 引入 Vue
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
// 引入 vue-router
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
// 引入 spotlight
<script src="http://链接未想好"></script>
<script>
var router = new VueRouter({
r: []
});
var app = new Vue({
router,
el: '#app',
});
</script>
</body>
</html>