Closed anonimusprogramus closed 4 years ago
@anonimusprogramus you have changed the mount selector (app.mount('#app')
) from the example in the handbook (app.mount('div')
). Your selector in the code above looks for an element with the ID app
, but there isn't any such element. If you use the original selector, choo mounts the app at the first div
element in the DOM tree.
Choose one: 🐛
Expected Behavior
Retyping choo handboox example on local server generated with
create-choo-app
.Any change on source code should be shown on browser, with Reload/Refresh/F5.
Current Behavior
On certain steps, what's shown on browser doesn't reflect the changes of source.
Stopped and re-run
npx bankai start index.js
didn't work.Error on console like:
Error: choo.mount: could not query selector: #app
While nothing changed on mount point inside
index.html
Typing this issue took more than 15 minutes, re-run
bankai
and voila.. run normally!Code Sample
index.js
/views/main.js
Your Environment
Arch Linux x64 node 10.15.1 choo 6.13.3 bankai 9.15