Start renaming
This commit is contained in:
@@ -8,9 +8,9 @@ Learn more about the Fresh framework here:
|
||||
## Usage: Island example
|
||||
|
||||
```tsx
|
||||
import { App } from "fresh";
|
||||
import { App } from "sweet";
|
||||
// Import the island function
|
||||
import { DemoIsland } from "jsr:@fresh/examples/island";
|
||||
import { DemoIsland } from "jsr:@paulaboks/sweet-examples/island";
|
||||
|
||||
export const app = new App({ root: import.meta.url })
|
||||
.use(staticFiles());
|
||||
@@ -24,10 +24,10 @@ await app.listen();
|
||||
## Usage: App1 or App2 example
|
||||
|
||||
```tsx
|
||||
import { App } from "fresh";
|
||||
import { App } from "sweet";
|
||||
// Import the example apps
|
||||
import { app1 } from "jsr:@fresh/examples/app1";
|
||||
import { app2 } from "jsr:@fresh/examples/app2";
|
||||
import { app1 } from "jsr:@paulaboks/sweet-examples/app1";
|
||||
import { app2 } from "jsr:@paulaboks/sweet-examples/app2";
|
||||
|
||||
export const app = new App({ root: import.meta.url })
|
||||
.use(staticFiles());
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "@fresh/examples",
|
||||
"name": "@paulaboks/sweet-examples",
|
||||
"version": "1.0.1",
|
||||
"license": "MIT",
|
||||
"imports": {
|
||||
"fresh": "jsr:@fresh/core@^2.0.0",
|
||||
"sweet": "jsr:@paulaboks/sweet@^2.0.0",
|
||||
"preact": "npm:preact@^10.27.0",
|
||||
"@preact/signals": "npm:@preact/signals@^2.2.1"
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @module
|
||||
*/
|
||||
|
||||
import { App } from "fresh";
|
||||
import { App } from "sweet";
|
||||
import { Doc } from "./shared.tsx";
|
||||
|
||||
/** App that renders a sample HTML document */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @module
|
||||
*/
|
||||
|
||||
import { App } from "fresh";
|
||||
import { App } from "sweet";
|
||||
import { Doc } from "./shared.tsx";
|
||||
|
||||
/** App that renders a sample HTML document */
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
*
|
||||
* @example
|
||||
* ```tsx
|
||||
* import { App } from "fresh";
|
||||
* import { DemoIsland } from "jsr:@fresh/examples/island";
|
||||
* import { App } from "sweet";
|
||||
* import { DemoIsland } from "jsr:@paulaboks/sweet-examples/island";
|
||||
*
|
||||
* const app = new App();
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user