mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:17:41 +08:00
Full height index
This commit is contained in:
@@ -22,8 +22,9 @@ A stand alone editor implementation of the UE's Blueprint visual language. (WIP)
|
||||
|
||||
## How to use:
|
||||
|
||||
You can check `index.html` f0r a working example, the main steps are the following:
|
||||
1. Include `dist/css/ueb-style.css` stylesheet in your page.
|
||||
2. Define eventual CSS variables
|
||||
2. Define eventual CSS variables .
|
||||
```HTML
|
||||
<style>
|
||||
ueb-blueprint {
|
||||
@@ -37,7 +38,7 @@ A stand alone editor implementation of the UE's Blueprint visual language. (WIP)
|
||||
import { Blueprint } from "./dist/ueblueprint.js"
|
||||
</script>
|
||||
```
|
||||
4. Define your blueprint the by just writing the code inside a `ueb-blueprint`, inside a `template` element
|
||||
4. Define your blueprint the by just writing the code inside a `ueb-blueprint`, inside a `template` element.
|
||||
```HTML
|
||||
<ueb-blueprint>
|
||||
<template>
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
<title>UE Blueprint</title>
|
||||
<link rel="stylesheet" href="dist/css/ueb-style.css">
|
||||
<style>
|
||||
ueb-blueprint {
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
--ueb-height: 100vh;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user