This is the root workspace of the ngVue monorepo, the primary readme can be found in the packages/ngVue3 package workspace.
-
ngVue3 library
- directive
- createVueComponent
- linker
- extracting v-props
- extracting v-directives
- extracting attrs
- extracting events
- initializing state
- creating vue app instance
- Is watch depth necessary? (yes)
- Support quirks mode? (probably wont do)
- Plugins
- Filters (probably wont do)
- Vuex ? (probably wont do)
- Pinia ?
- Tests
- directive
-
Demo page
- Options
- SFC (setup method)
- SFC (script setup)
- Native Vue Plugins
- Directives
- Provide/Inject
- NgVue Plugins
- Depoly
-
Documentation
- Repo README (this)
- Wiki
<vue-component name="" ...>
not supported- Don't need to have a parent element as Vue 3 uses the component container
- This allows for multi-root templates
- No longer requires a wrapper element
- ngVue 3 will strip the attrs from the parent with the exceptions:
- vue adds
v-data-app
- angular may add
class="ng-scope"
- vue adds
class
andstyle
will fall through- If you have a multi-root template you need to use
v-bind="$attr"
on an element otherwise a warning will be generated
- If you have a multi-root template you need to use
ng-class
andng-style
will not