Skip to content
Update Documentation authored by Felix Cervin's avatar Felix Cervin
<h1>Feathers</h1>
<h4>Vue.app</h4>
<b>Information</b>
<i>Vue.app is the Feathers instance. As in:</i>
```
# Feathers
#### Vue.app
**Information:**
*Vue.app is the Feathers instance. As in:*
```javascript
import feathers from '@feathersjs/feathers'
Vue.feathers = feathers
Vue.app = Vue.feathers()
```
*This makes it possible to use Feathers Application services, hooks, etc.*
*To see a list of available Application events, please see:* [Feathers Application API](https://docs.feathersjs.com/api/application.html)
**Examples:**
```javascript
Vue.app.emit('error', 'This is an error message.')
Vue.app.service('users').create({...})
```
You also have access to the Feathers Socket. Here's how it's setup:
```javascript
import io from 'socket.io-client
Vue.io = io
Vue.socket = Vue.io('http://localhost:3030')
```
*With this you can use Feathers Socket.io methods, functions, etc. For a more detailed list of what you can do with Feathers Socket.io-client, see:* [Feathers Client > Socket.io](https://docs.feathersjs.com/api/client/socketio.html)
**Examples:**
```javascript
Vue.socket.emit('authenticate', { ... })
Vue.socket.emit('find', 'users', ...)
```
\ No newline at end of file