Skip to content

Commit 05ea046

Browse files
kevenleonebrianchandotcom
authored andcommitted
LPD-67328 Rename
1 parent af21256 commit 05ea046

File tree

6 files changed

+12
-8
lines changed

6 files changed

+12
-8
lines changed

workspaces/liferay-sample-workspace/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ For `liferay-sample-etc-cron` and `liferay-sample-etc-spring-boot` the third typ
6666

6767
Build a custom element that uses `@clayui/badge`, `react`, and `react-dom` packages that Liferay makes publicly available through import maps.
6868

69+
- *liferay-sample-custom-element-6*
70+
71+
Build a custom element that uses `react`, `react-dom` and `vite`.
72+
6973
- *liferay-sample-editor-config-contributor*
7074

7175
Build a JavaScript function to configure WYSIWYG editors.

workspaces/liferay-sample-workspace/client-extensions/liferay-sample-custom-element-6/client-extension.dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
liferay-sample-custom-element:
1+
liferay-sample-custom-element-6:
22
properties:
33
foo: dev
44
urls:

workspaces/liferay-sample-workspace/client-extensions/liferay-sample-custom-element-6/client-extension.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
assemble:
22
- from: build/vite
33
into: static
4-
liferay-sample-custom-element:
4+
liferay-sample-custom-element-6:
55
cssURLs:
66
- "**/index*.css"
7-
friendlyURLMapping: liferay-sample-custom-element
8-
htmlElementName: liferay-sample-custom-element
7+
friendlyURLMapping: liferay-sample-custom-element-6
8+
htmlElementName: liferay-sample-custom-element-6
99
instanceable: false
1010
name: Liferay Sample Custom Element
1111
portletCategoryName: category.client-extensions

workspaces/liferay-sample-workspace/client-extensions/liferay-sample-custom-element-6/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010

1111
<body>
12-
<liferay-sample-custom-element />
12+
<liferay-sample-custom-element-6 />
1313

1414
<script src="/src/main.tsx" type="module"></script>
1515
</body>

workspaces/liferay-sample-workspace/client-extensions/liferay-sample-custom-element-6/src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ class LiferaySampleCustomElement extends HTMLElement {
1616
}
1717
}
1818

19-
if (!customElements.get('liferay-sample-custom-element')) {
19+
if (!customElements.get('liferay-sample-custom-element-6')) {
2020
customElements.define(
21-
'liferay-sample-custom-element',
21+
'liferay-sample-custom-element-6',
2222
LiferaySampleCustomElement
2323
);
2424
}

workspaces/liferay-sample-workspace/client-extensions/liferay-sample-custom-element-6/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default defineConfig({
1919
},
2020
experimental: {
2121
renderBuiltUrl(filename: string) {
22-
return `/o/liferay-sample-custom-element/${filename}`;
22+
return `/o/liferay-sample-custom-element-6/${filename}`;
2323
},
2424
},
2525
plugins: [react()],

0 commit comments

Comments
 (0)