Skip to content

Commit 4ff933e

Browse files
committed
πŸƒ shift to using LWC Garden utils instead of directly using the package
1 parent 6fefb5e commit 4ff933e

File tree

13 files changed

+9968
-5091
lines changed

13 files changed

+9968
-5091
lines changed
File renamed without changes.

β€Žconfig/index.htmlβ€Ž

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>sfdx-starter playground</title>
77
<link rel="icon" type="image/png" href="/favicon.png" sizes="192x192" />
8+
9+
<link
10+
rel="stylesheet"
11+
href="http://localhost:3333/sfsites/c/resource/site/style.css"
12+
/>
813
</head>
9-
<body style="margin: 0; padding: 0">
10-
<div id="main"></div>
11-
<!-- <script src="dist/bundle.js"></script> -->
14+
<body
15+
id="main"
16+
style="margin: 0; display: flex; flex-direction: column; min-height: 100vh"
17+
>
18+
{{{body}}}
1219
</body>
20+
{{{lwr_resources}}}
1321
</html>

β€Žconfig/local/app/app.cssβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:host {
2+
color: black;
3+
}

β€Žconfig/local/app/app.htmlβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<p>hello world</p>
3+
</template>

β€Žconfig/local/app/app.jsβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { LightningElement } from 'lwc'
2+
3+
export default class App extends LightningElement {}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<StaticResource xmlns="http://soap.sforce.com/2006/04/metadata">
3+
<cacheControl>Public</cacheControl>
4+
<contentType>application/x-zip-compressed</contentType>
5+
<description>Site Static Resources</description>
6+
</StaticResource>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*,
2+
*::before,
3+
*::after {
4+
border: 0;
5+
box-sizing: border-box;
6+
font: inherit;
7+
margin: 0;
8+
padding: 0;
9+
}
10+
html {
11+
line-height: 1;
12+
text-size-adjust: 100%;
13+
-webkit-font-smoothing: antialiased;
14+
}

β€Žgarden.config.jsβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žlwc.config.jsonβ€Ž

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
Β (0)