glib-web

    0.5.85 • Public • Published

    Set up ESLint

    • Install the following VSCode extensions
      • ESLint
      • Vetur
    • Edit settings.json
      • CTRL+SHIFT+P -> Open Settings (JSON) -- This will open an editor for settings.json.
      • Copy content of settings.json.example into the editor.

    Best practices

    • To prevent circular dependencies between components:
      • It’s okay to use dispatchEvent for upward communication (i.e. child component to ancestors). This fits with how the JS event model works as it already supports event propagation out of the box.
      • For downward communication, don’t use any sort of event/pub-sub mechanism. Always use Vuejs data binding instead.

    Link to local npm during development

    • cd glib-web-npm
    • yarn install
    • yarn link
    • cd PROJECT_DIR
    • yarn link glib-web
    • bin/webpack-dev-server

    Prepare for publishing

    • Create a PR to the master branch
    • After approval, merge the PR.

    Publish package to npm

    Keywords

    none

    Install

    npm i glib-web

    DownloadsWeekly Downloads

    117

    Version

    0.5.85

    License

    ISC

    Unpacked Size

    1.52 MB

    Total Files

    205

    Last publish

    Collaborators

    • hgani
    • wijayadavin
    • ikhwanh
    • aflahu