Skip to content

GetStream/Stream-Example-Vue-Cli

Repository files navigation

Stream-Example-Vue-Cli

A sample app built with the Vue CLI.

This is very basic example intended to accompany the JavaScript Frontend Framework CLI Showdown post on the Stream blog. If you would like to contribute a Vue.js example that demonstrates additional features, feel free to contact us.

The project is pre-configured with a shared Stream account for testing purposes. You can learn more about Stream feeds, sign up for an account, and obtain your own App Id and Key at https://getstream.io/get_started.

Project setup

This quick guide to setting up the project.

Note: Paths below are relative to the root project directory.

0. Setup

  1. Install the project dependencies:
    npm install

1. Run the Website

  1. Run the following shell command:
    npm start

2. Win.

  1. Browse to http://localhost:8080.

Working with Vue CLI

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Copyright and License Information

Copyright (c) 2017 Stream.io Inc, and individual contributors. All rights reserved.

See the file "LICENSE" for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.