mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Update preact template
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
import './App.css'
|
||||
import logo from "./assets/images/logo-universal.png"
|
||||
import './app.css';
|
||||
import logo from "./assets/images/logo-universal.png";
|
||||
import {Greet} from "../wailsjs/go/main/App";
|
||||
import {useState} from "preact/hooks";
|
||||
|
||||
|
||||
+4
-13
@@ -1,14 +1,5 @@
|
||||
import React from 'react'
|
||||
import {createRoot} from 'react-dom/client'
|
||||
import './style.css'
|
||||
import App from './App'
|
||||
import {render} from 'preact';
|
||||
import {App} from './app';
|
||||
import './style.css';
|
||||
|
||||
const container = document.getElementById('root')
|
||||
|
||||
const root = createRoot(container)
|
||||
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
<App/>
|
||||
</React.StrictMode>
|
||||
)
|
||||
render(<App/>, document.getElementById('app'));
|
||||
Reference in New Issue
Block a user