novo-menu-wedding-site 0.0.1 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
package/custom.d.ts CHANGED
@@ -2,3 +2,5 @@ declare module "*.svg" {
2
2
  const content: string;
3
3
  export default content;
4
4
  }
5
+
6
+ declare module 'preact-custom-element';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "novo-menu-wedding-site",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/src/app.tsx CHANGED
@@ -3,6 +3,8 @@ import logo from "./assets/logo.svg";
3
3
  import marca from "./assets/marca.svg";
4
4
  import share from "./assets/icons/share.svg";
5
5
 
6
+ import register from 'preact-custom-element';
7
+
6
8
  export function App() {
7
9
  return (
8
10
  <div className="flex justify-between items-center p-4 shadow-lg md:flex-col md:h-screen md:w-20">
@@ -15,3 +17,5 @@ export function App() {
15
17
  </div>
16
18
  );
17
19
  }
20
+
21
+ register(App, 'menu-section', [], { shadow: true });