open-index/open-npm huggingface dataset:
npm package: @hagamitu/ui-components
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
Latest version: 0.0.5

# Components

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.

## Code scaffolding

Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
> Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.

## Running unit tests

Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @hagan/vue-router
Description: `vue-router` 简单版
Latest version: 0.1.18

# @hagan/vue-router

`vue-router` 简单版

## 开发

## 安装依赖

```
yarn install
```

### 开发环境
```
yarn serve
```

### 编译@hagan/vue-router

```
yarn build:rollup
```

## 使用方法

```shell
yarn add @hagan/vue-router
```

```js
import Vue from 'vue'
import VueRouter from '@hagan/vue-router'
import App from '@/App.vue'
import Hagan from '@/views/Hagan.vue'
import Rita from '@/views/Rita.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/hagan',
    component: Hagan
  },
  {
    path: '/rita',
    component: Rita
  }
]

const router = new VueRouter({
  mode: 'history',
  routes
})

const vm = new Vue({
  router,
  render: h => h(App)
})
vm.$mount('#app')
```

App.vue

```vue
<template>
  <div id="app">
    <nav>
      <router-link class="router-link" to="/hagan">hagan</router-link> |
      <router-link class="router-link" to="/rita">rita</router-link> |
      <router-link class="router-link" to="/rita/son">ritaSon</router-link>
    </nav>
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style scoped>
#app {
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

.router-link {
  color: #ccc;
  font-size: 20px;
  font-weight: 800;
}

.router-link-active {
  color: #666;
}

.router-link-exact-active {
  color: blue;
}
</style>
```