0.7.5 • Published 3 years ago

oweather-container v0.7.5

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

oweather-container

This is a simple weather display component for VueJS.

Install

npm i oweather-container

Usage

To use the component simply install the npm package and use the component as any other VueJS NPM component. For example:

<template>
  <v-app>
    <v-main>
      <oweather city="Kaunas" apiKey="19701743c8c0c3b9e6f8607e687c82f7"/>
    </v-main>
  </v-app>
</template>

<script>
import oweather from 'oweather-container';

export default {
  name: 'App',
  components: {
    oweather
  },

  data: () => ({
    //
  }),
};
</script>

The component receives 2 props: city - name of the city for which we want to display weather data. apiKey - OpenWeather API key which is given after registering an account at https://openweathermap.org/

License

NONE

0.7.5

3 years ago

0.7.4

3 years ago

0.7.3

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago