How andersbor/javascriptvue3componentbuttoncounter works
This is a small Vue demo of local component state, user interactions, and rendering. The main setup creates an app with sample book data; a separate script registers interactive and table components and mounts the app. A blog-post demo is shown in another script, but its appComp reference is not defined in the sampled files, so its connection to the main app is unclear. No README or HTML contents were provided, so page-level wiring beyond the explicit mount selectors is not represented.
Main entry points: componentExamples.js Interactive components · index.js App setup · blogpost.js Blog post demo
Components 6
Vue app
- App setup
js/index.js
Component demos
- Interactive components
js/componentExamples.js - Blog post demo
js/blogpost.js
Other components
- Vue runtime
- #app mount
- #components-demo mount
Connections 4
- Vue runtime → App setup: creates app
js/index.js - Interactive components → App setup: registers on
js/componentExamples.js - Interactive components → #app mount: mounts at
js/componentExamples.js - Blog post demo → #components-demo mount: mounts at
js/blogpost.js