mirror of
https://github.com/speice-io/isomorphic-rust
synced 2025-07-01 13:56:01 -04:00
Add a minimal and plain stdweb example
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "electron_percy_wasm"
|
||||
name = "percy"
|
||||
version = "0.1.0"
|
||||
authors = ["Bradlee Speice <bradlee@speice.io>"]
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
import { main } from "./electron_percy_wasm"
|
||||
|
||||
let rootNode = document.getElementById('root')
|
||||
rootNode.parentElement.replaceChild(main(), rootNode)
|
||||
rootNode = document.getElementById('root')
|
@ -1,7 +0,0 @@
|
||||
const app = import("./app")
|
||||
app.then(() => {
|
||||
console.log("Finished resolving application bundle")
|
||||
}, (e) => {
|
||||
console.log("Unable to resolve application bundle: ")
|
||||
console.log(e)
|
||||
})
|
Reference in New Issue
Block a user