1.0.1 • Published 7 years ago

unicorn-login-component v1.0.1

Weekly downloads
45
License
-
Repository
-
Last release
7 years ago

unicorn-login-component

a Vue.js 2.0 login project

Build Setup

Clone the repo and then install the server submodule and dependencies.

# Submodule init
git submodule update --init

# install server dependencies
cd server
npm install

# install app dependencies
cd ..
npm install

Once the application scripts are in place, start the server by using:

# Server with hot reload at localhost:3333
npm run server

Afterwards, open a second Terminal window and run:

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

If you want a minified version for Prod:

# build for production with minification
npm run build

Install Setup

The unicorn-login-component is now a public npm package. Follow the steps listed below in order to import it to your project.

# Install the component
npm install --save unicorn-login-component

# Once in your app, open a component and import the unicorn-login-component by declaring
import Login from 'unicorn-login-component'

# Then tell your app to use it
components: {
  Login
}

# Finally, declare the Login inside your component template
<login></login>
1.0.1

7 years ago

1.0.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago