diff --git a/projects/frontend/src/components/web-components/index.ts b/projects/frontend/src/components/web-components/index.ts deleted file mode 100644 index 40fb2f3..0000000 --- a/projects/frontend/src/components/web-components/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { registerProjectTile } from './project-tile' - -export const register = () => { - registerProjectTile() -} diff --git a/projects/frontend/src/components/web-components/project-tile.ts b/projects/frontend/src/components/web-components/project-tile.ts deleted file mode 100644 index a43b957..0000000 --- a/projects/frontend/src/components/web-components/project-tile.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defineCustomElement } from 'vue' - -import ProjectTileSFC from 'src/views/project/project-tile.vue' - -export const ProjectTile = defineCustomElement(ProjectTileSFC) - -export const registerProjectTile = () => { - customElements.define('project-tile', ProjectTile) -} diff --git a/projects/frontend/src/main.ts b/projects/frontend/src/main.ts index 9512a28..2a63009 100644 --- a/projects/frontend/src/main.ts +++ b/projects/frontend/src/main.ts @@ -9,7 +9,6 @@ import './main.sass' import { createRoutes, initializeRouteStore } from './routes' import { headingSectionsExtension } from './utilities/marked' -import { register } from './components/web-components' marked .use(headingSectionsExtension() as any) @@ -28,7 +27,6 @@ export const createApp = ViteSSG( { routes: createRoutes() }, // function to have custom setups ({ app, router, routes, isClient, initialState }) => { - register() app.use(createPinia()) initializeRouteStore(routes) },