Skip to content

Commit 8070a9e

Browse files
shailee-mbrylie
authored andcommitted
[#366] adding vocabulary-styles as a dependency
1 parent 85e69d0 commit 8070a9e

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ To be able to use the file it should either be rendered statically from the inte
3434

3535
```
3636
<script src="https://unpkg.com/vue"></script>
37-
<!-- If the licenser-chooser file is hosted on http://127.0.0.1:8081 -->
3837
<script src="https://unpkg.com/@creativecommons/chooser/dist/license-chooser.js"></script>
3938
4039
<license-chooser></license-chooser>

package-lock.json

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@fortawesome/free-regular-svg-icons": "^6.0.0-beta3",
2929
"@fortawesome/free-solid-svg-icons": "^6.0.0-beta3",
3030
"@fortawesome/vue-fontawesome": "^2.0.6",
31+
"@creativecommons/vocabulary-styles": "^0.1.0",
3132
"@creativecommons/vocabulary-components": "^0.1.0",
3233
"@sentry/vue": "^5.29.2",
3334
"bulma": "^0.9.1",

src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default {
177177
};
178178
</script>
179179
<style lang="scss">
180-
@import '~@creativecommons/vocabulary/scss/vocabulary.scss';
180+
@import '~@creativecommons/vocabulary-styles';
181181
182182
#app {
183183
-webkit-font-smoothing: antialiased;

tests/unit/specs/components/App.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Vue from 'vue';
22
import { shallowMount, createLocalVue } from '@vue/test-utils';
33
import Vuex from 'vuex';
44
import VueI18n from 'vue-i18n';
5-
import Vocabulary from '@creativecommons/vocabulary-components';
5+
import VueVocabulary from '@creativecommons/vocabulary-components';
66
import VueScrollTo from 'vue-scrollto';
77
import createStore from '@/store';
88
import App from '@/App';
@@ -14,7 +14,7 @@ describe('App.vue', () => {
1414
beforeEach(() => {
1515
localVue = createLocalVue();
1616
localVue.use(Vuex);
17-
localVue.use(Vocabulary);
17+
localVue.use(VueVocabulary);
1818
Vue.use(VueScrollTo);
1919
Vue.use(VueI18n);
2020
wrapper = shallowMount(App, {

0 commit comments

Comments
 (0)