Skip to content

Instantly share code, notes, and snippets.

@xerosanyam
Created October 5, 2017 12:21
Show Gist options
  • Save xerosanyam/cb16307b54181e6ad97e986e96e2645a to your computer and use it in GitHub Desktop.
Save xerosanyam/cb16307b54181e6ad97e986e96e2645a to your computer and use it in GitHub Desktop.
add semantic ui to vuejs
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
window.$ = window.jQuery = require('jquery')
require('semantic-ui-css/semantic.css')
require('semantic-ui-css/semantic.js')
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: { App }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment