GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DaKangA/chatbox

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
src
src
 
 
test
test
 
 
.babelrc
.babelrc
 
 
.editorconfig
.editorconfig
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
.stylelintrc
.stylelintrc
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

@diiip/chatbox

npm vue2

A mini ChatBox

Installation

npm install --save @diiip/chatbox

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'
import Chatbox from '@diiip/chatbox'
// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import '@diiip/chatbox/dist/@diiip/chatbox.css'

Vue.use(Chatbox)

Browser

<!-- Include after Vue -->
<!-- Local files -->
<link rel="stylesheet" href="@diiip/chatbox/dist/@diiip/chatbox.css"></link>
<script src="@diiip/chatbox/dist/@diiip/chatbox.js"></script>

<!-- From CDN -->
<link rel="stylesheet" href="https://unpkg.com/@diiip/chatbox/dist/@diiip/chatbox.css"></link>
<script src="https://unpkg.com/@diiip/chatbox"></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

About

No description, website, or topics provided.

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.