0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vue-CLI3 で作成した WebComponentsに、UIフレームワークを適用し、かつ、 IE11対応にする

Last updated at Posted at 2019-01-18

ElementUI編

結果

<style scoped>
/* @import "../../node_modules/element-ui/lib/theme-chalk/index.css";  ←これだと容量多くて遅くなる */
@import "../../node_modules/element-ui/lib/theme-chalk/button.css";
</style>
yarn add element-ui
npm i
main.js
import Vue from "vue";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";

Vue.config.productionTip = false;
Vue.use(ElementUI);

new Vue({
  render: h => h(App)
}).$mount("#app");

SVG Icon

yarn add fortawesome/fontawesome-svg-core fortawesome/free-regular-svg-icons fortawesome/free-solid-svg-icons

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?