This is a library of interchangeable web components based on ElementUI!
- Complete Documentation — With extensive functional documentation allowing you to have vast knowledge on Lannister component. This will allow you to easily integrate Lannister components to any frameworks you know and love.
- High performance — With Lannister component, you will get blazing fast load time, thanks to minified vanilla Javascript.
- <5 minutes quickstart — With our quickstart docs, get lannister component loaded to your project in no time.
- Industry standard pipeline — Take comfort in knowing that our component will not fail under normal circumstances. Our unit testing covers input cleaning and crossbrowser integration.
- CDN Hosted Content — Providing easy to use component. You no longer need to download any files manually.
You're going to need:
- Browser — Any version of Chrome or Firefox. Currently not fully support Safari,IE,and Opera.
- Laptop — Any operating system would be fine.
- Text Editor — TextEdit or Notepad works just fine.
To get the component working in your site, you will need to put this script to the bottom of your HTML file.
<script src="https://unpkg.com/lannister-component@latest/dist/bundle.js"></script>
Next, you can load up your desired component above the script.
<lan-button>Lannister Button</lan-button>
- Manuals — Detailed definition on every component.
- Comprehensive — Complete documentation on each functions.
- Notion Internal Documentations — The internal documentation. (login using gmail account: email: teamlannister6@gmail.com , password:team6password)
- Add New Tests — Small tutorial on how to add more tests
We accept contributions in the form of pull requests.
You will only need to do the following:
- Fork this library
- Make pull requests
- Give details on what you are doing on that PR.
-
Install npm.
-
Install Chrome.
-
Install Firefox.
-
Install Git.
-
Install Java.
-
Add Java to the PATH environment variable.
-
git clone https://github.com/ucsd-cse112/team6.git
into your preferred directory. -
Navigate to the team6 folder.
-
npm install
-
npm update
-
npm run lint
-
npm install bower
-
For Mac/Linux:
./node_modules/.bin/bower install --save-dev web-component-tester
For Windows:
node_modules\.bin\bower.cmd install --save-dev web-component-tester
-
npm run test
-
npm run doc
If you're getting an installation error along the lines of "could not request header," go to package.json
and navigate to scripts
then test
. Change wct
to wct --skip-selenium-install
.
On Mac, try going to node_modules/wct-local/selenium-overrides.js
and change the version from 3.12.0
to 3.14.0
. For more info, visit the Polymer web-component-tester repo.