README
socketio-nuxt
Setup
- Add
socketio-nuxt
dependency to your project
yarn add socketio-nuxt # or npm install socketio-nuxt
- Add
socketio-nuxt
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'socketio-nuxt',
// With options
['socketio-nuxt', {
autoConnect: false,
url: 'http://localhost:9001'
}]
]
}
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) therealwolf42