html单页使用vue

html单页使用vue

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
		<title></title>

		<script src="https://cdn.bootcss.com/vue/2.6.11/vue.min.js" rel="stylesheet" type="text/javascript"></script>
		<link rel="stylesheet" href="https://cdn.bootcss.com/element-ui/2.15.14/theme-chalk/index.css">
		<script src="https://cdn.bootcss.com/element-ui/2.15.14/index.js" rel="stylesheet" type="text/javascript">
		</script>
		<script src="https://cdn.bootcss.com/vuex/3.6.0/vuex.min.js" rel="stylesheet" type="text/javascript"></script>
		<script src="https://cdn.bootcss.com/axios/1.5.1/axios.min.js" rel="stylesheet" type="text/javascript">
		</script>
		<script src="https://cdn.bootcss.com/vue-router/3.0.3/vue-router.min.js" rel="stylesheet"
			type="text/javascript"></script>

		<style>
			* {
				box-sizing: border-box;
			}

			html,
			body {
				width: 100%;
			}

			#app {
				width: 100%;
				height: auto;
				background: #F1F4FD;
				position: relative;
			}

		</style>
	</head>
	<body>
		<div id="app">
		</div>
		<script>
			new Vue({
				el: '#app',
				data: {
				},
        mounted () {
        },
        methods: {
        },
			})
		</script>
	</body>
</html>

相关推荐

  1. html使用vue

    2024-04-12 09:06:07       30 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-12 09:06:07       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-12 09:06:07       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-12 09:06:07       82 阅读
  4. Python语言-面向对象

    2024-04-12 09:06:07       91 阅读

热门阅读

  1. 成为一名程序员:兴趣与职业发展的交汇点

    2024-04-12 09:06:07       29 阅读
  2. 一探究竟:选择排序原理、实现与应用分析

    2024-04-12 09:06:07       32 阅读
  3. linux c多线程简单队列实现

    2024-04-12 09:06:07       37 阅读
  4. 嵌入式之面向对象篇(四)

    2024-04-12 09:06:07       38 阅读
  5. 2812: 【算法思想】【双指针】最小差

    2024-04-12 09:06:07       38 阅读
  6. 【class1】python基础

    2024-04-12 09:06:07       29 阅读
  7. Hystrix 简介:容错保护的利器及使用方法简介:

    2024-04-12 09:06:07       31 阅读
  8. 理解ReAct的核心思想

    2024-04-12 09:06:07       35 阅读
  9. 大模型+知识库学习

    2024-04-12 09:06:07       38 阅读