Web API, Web UI #86
|
@ -1,6 +1,6 @@
|
||||||
//The wasm application is compiled as javascript into the /pkg
|
//The wasm application is compiled as javascript into the /pkg
|
||||||
//directory. Webpack then replaces this import with what is actually
|
//directory. Webpack then replaces this import with what is actually
|
||||||
//needed.
|
//needed. To import the web assembly, the import FUNCTION must be
|
||||||
|
//used. The import STATEMENT does not work.
|
||||||
import './webui.scss';
|
import './webui.scss';
|
||||||
//import('webui.scss');
|
import('./pkg');
|
||||||
import("./pkg");
|
|
||||||
|
|
Loading…
Reference in New Issue