mirror of
https://github.com/MercuryWorkshop/dreamlandjs.git
synced 2025-05-16 23:50:00 -04:00
dreamland.js branding 2
This commit is contained in:
parent
992a6a19dc
commit
e163b0cb61
3 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ and run `npm install @mercuryworkshop/dreamlandjs`
|
|||
|
||||
If you prefer using modules and are using a bundler, simply `import "@mercuryworkshop/dreamlandjs";` into at least one file you're using.
|
||||
|
||||
If you don't like using modules, just add `<script src="://unpkg.com/@mercuryworkshop/dreamlandjs"></script>` to your html, and you can use AliceJS as normal.
|
||||
If you don't like using modules, just add `<script src="://unpkg.com/@mercuryworkshop/dreamlandjs"></script>` to your html, and you can use dreamland as normal.
|
||||
|
||||
dreamland can even be used without a build step, here's the counter example in plain JS
|
||||
```javascript
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>AliceJS examples</title>
|
||||
<title>Dreamland examples</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="index.css" />
|
||||
|
|
|
@ -107,8 +107,8 @@ function Counter() {
|
|||
// <div className={"as"}>
|
||||
// <Counter />
|
||||
// {/* <div> */}
|
||||
// {/* <h1>AliceJS Examples</h1> */}
|
||||
// {/* <p>Some examples of AliceJS components. Code is in examples/</p> */}
|
||||
// {/* <h1>Dreamland Examples</h1> */}
|
||||
// {/* <p>Some examples of dreamland.js components. Code is in examples/</p> */}
|
||||
// {/* </div> */}
|
||||
// {/* <examples> */}
|
||||
// {/* <Counter a="b" bind:this={use(this.counterobj)} bind:counter={use(this.c)} /> */}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue