3.0.1 • Published 5 years ago

@hcflgov/vue-html-wrapper v3.0.1

Weekly downloads
11
License
MIT
Repository
-
Last release
5 years ago

@hcflgov/vue-html-wrapper

NPM

Installation

NPM

npm i --save @hcflgov/vue-html-wrapper
import HcHtmlWrapper from '@hcflgov/vue-html-wrapper'
Vue.use(HcHtmlWrapper)

CDN

https://unpkg.com/@hcflgov/vue-html-wrapper/dist/

<script src="https://unpkg.com/@hcflgov/vue-html-wrapper"></script>

Basic Use

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
  <meta charset="utf-8">
  <link rel="stylesheet" href="https://unpkg.com/@hcflgov/vue-html-wrapper/dist/HcHtmlWrapper.css">
</head>
<body>

  <div id="hc-main" class="d-flex flex-column">
    <!-- header -->
    <header>
      <!-- https://www.w3.org/WAI/GL/2016/WD-WCAG20-TECHS-20160105/G1 -->
      <nav is="hc-navbar" logo-href="./" skip-content-link="#main-content" class="v-card"></nav>

      <ol is="hc-banner" title="Page Title">
        <li class="breadcrumb-item"><a href="./">Home</a></li>
      </ol>
    </header>

    <main id="main-content">
      <!-- content goes here -->
    </main>

    <!-- footer -->
    <footer is="hc-footer" class="mt-auto"></footer>
  </div>

  <script src="https://unpkg.com/vue@2.6.6/dist/vue.js"></script>
  <script src="https://unpkg.com/@hcflgov/vue-html-wrapper"></script>

  <script type="text/javascript">
  new Vue().$mount('#hc-main')
  </script>
</body>
</html>

Components

View the documentation.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

3.0.1

5 years ago

3.0.0

5 years ago

3.0.0-0

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago