# use-vue
Vue component and directive metadata primitives for `RustUse`.
## Experimental
`use-vue` is experimental while `use-js` remains below `0.3.0`.
## Example
```rust
use use_vue::{VueApiStyle, VueComponentName, VueDirectiveName};
let component = VueComponentName::new("UserCard")?;
let directive = VueDirectiveName::new("v-focus")?;
assert_eq!(component.as_str(), "UserCard");
assert_eq!(directive.as_str(), "focus");
assert_eq!(VueApiStyle::ScriptSetup.as_str(), "script-setup");
# Ok::<(), use_vue::VueNameError>(())
```
## Scope
- Vue component, directive, file-kind, and API-style labels.
## Non-goals
- Vue compiler behavior.
- SFC parsing.
- Component rendering or project scaffolding.
## License
Licensed under either Apache-2.0 or MIT.