vue-web-component-wrapper
Version:
A Vue 3 plugin that provides a web component wrapper with styles, seamlessly integrating with Vuex, Vue Router, Vue I18n, and supporting Tailwind CSS and Sass styles.
23 lines (22 loc) • 602 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SFC-Web-comoponent</title>
</head>
<body>
<hr>
<h1>SFC-Web-comoponent</h1>
<my-component>
<other-component>
Nested component
</other-component>
<other-component-super>
Derrived nested component
</other-component-super>
</my-component>
<script type="module" src="./dist/my-component.es.js"></script>
</body>
</html>