rdv-doc-public-calendar-lu

    0.0.0 • Public • Published

    RdvDocPublicCalendar

    npm vue2

    Plugin for rdvDoc

    Installation

    npm install --save rdv-doc-public-calendar

    Usage

    Bundler (Webpack, Rollup)

    import Vue from 'vue'
    import RdvDocPublicCalendar from 'rdv-doc-public-calendar'
    // You need a specific loader for CSS files like https://github.com/webpack/css-loader
    import 'rdv-doc-public-calendar/dist/rdv-doc-public-calendar.css'
     
    Vue.use(RdvDocPublicCalendar)

    Browser

    <!-- Include after Vue -->
    <!-- Local files -->
    <link rel="stylesheet" href="rdv-doc-public-calendar/dist/rdv-doc-public-calendar.css"></link>
    <script src="rdv-doc-public-calendar/dist/rdv-doc-public-calendar.js"></script>
     
    <!-- From CDN -->
    <link rel="stylesheet" href="https://unpkg.com/rdv-doc-public-calendar/dist/rdv-doc-public-calendar.css"></link>
    <script src="https://unpkg.com/rdv-doc-public-calendar"></script>

    Development

    Launch visual tests

    npm run dev

    Launch Karma with coverage

    npm run dev:coverage

    Build

    Bundle the js and css of to the dist folder:

    npm run build

    Publishing

    The prepublish hook will ensure dist files are created before publishing. This way you don't need to commit them in your repository.

    # Bump the version first 
    # It'll also commit it and create a tag 
    npm version
    # Push the bumped package and tags 
    git push --follow-tags
    # Ship it 🚀 
    npm publish

    License

    MIT

    Keywords

    none

    Install

    npm i rdv-doc-public-calendar-lu

    DownloadsWeekly Downloads

    7

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    14.3 MB

    Total Files

    18

    Last publish

    Collaborators

    • littletower