Add sw.js
name change instructions in README.md
(#47)
This commit is contained in:
parent
44aec52217
commit
f1d272b37d
|
@ -21,6 +21,9 @@ Change the name of the crate: Chose a good name for your project, and change the
|
|||
* Change the `<title>`
|
||||
* Change the `<script src=…` line from `eframe_template.js` to `your_crate.js`
|
||||
* Change the `wasm_bindgen(…` line from `eframe_template_bg.wasm` to `your_crate_bg.wasm` (note the `_bg`!)
|
||||
* `docs/sw.js`
|
||||
* Change the `'./eframe_template.js'` to `./your_crate.js` (in `filesToCache` array)
|
||||
* Change the `'./eframe_template_bg.wasm'` to `./your_crate_bg.wasm` (in `filesToCache` array)
|
||||
* Remove the web build of the old name: `rm docs/eframe_template*`
|
||||
|
||||
### Learning about egui
|
||||
|
|
Loading…
Reference in a new issue