Closed Supergrammer closed 1 year ago
Vuetify ๋ฐ Vuetify ์ปดํฌ๋ํธ ์ถ๊ฐ
์ฌ๊ธฐ์ ์ ๋ฌด ์ฒดํฌ๋ฆฌ์คํธ๋ฅผ ์์ฑํ์ธ์. [x] Vuetify ์ถ๊ฐ [x] Vuetify submodule (icon ๋ฑ) ์ถ๊ฐ
์ฌ๊ธฐ์ ์ ๋ฌด ์ฒดํฌ๋ฆฌ์คํธ๋ฅผ ์์ฑํ์ธ์.
Vue project ์ Vuetify ๋ฐ Vuetify ์ submodule ๋ฅผ ์ถ๊ฐํ๋ ์์
์ฌ๊ธฐ์ ๊ด๋ จ ์ด์์ ๋ํด ๊ธฐ์ ํ๊ฑฐ๋ ๋งํฌ๋ฅผ ์ฒจ๋ถํ์ธ์.
https://github.com/Supergrammer/JIB-SEE/issues/1
ํด๋น ์ด์ ์ฒ๋ฆฌ ํ, ์ฒ๋ฆฌ ๋ด์ฉ์ ๋ํด ๊ธฐ์ ํ๋ ๋ถ๋ถ์ ๋๋ค. ์ด์ ์ฒ๋ฆฌ ํ ์์ฑํด ์ฃผ์ธ์
% npm i --save vuetify@^3.0.6
import { createVuetify } from "vuetify"; import * as components from "vuetify/components"; import * as directives from "vuetify/directives"; import { fa } from "vuetify/iconsets/fa" import "vuetify/styles"; const vuetify = createVuetify({ components, directives, icons: { defaultSet: "fa", sets: { fa }, } }); export default vuetify;
import { createApp } from "vue"; import { createPinia } from "pinia"; import App from "@/App.vue"; import router from "@/router"; import vuetify from "@/plugins/vuetify"; const app = createApp(App); const pinia = createPinia(); app.use(router); app.use(pinia); app.use(vuetify); app.mount("#app");
# Material Design Icon ์ถ๊ฐ % npm i --save @mdi/font # Fontawesome Icon ์ถ๊ฐ % npm i --save @fortawesome/fontawesome-free
... import "@mdi/font/css/materialdesignicons.css" import "@fortawesome/fontawesome-free/css/all.css" ...
No more Issue :)
๐ฃ ์ด์ (Issue) :
๐ ์ ๋ฌด ์ฒดํฌ๋ฆฌ์คํธ (Task Checklist) :
๐ ์์ธ ์ค๋ช (Description) :
๐ ๊ด๋ จ ์ด์ (Related Issues) :
๐ ์ฐธ๊ณ (Reference) :
โ๏ธ ์ฒ๋ฆฌ ๋ด์ฉ
Vuetify ์ถ๊ฐ
Vuetify Icons module ์ถ๊ฐ