Skip to content

Commit

Permalink
♻️ Remove bower and add npm packages for semantic-ui-css and jquery
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaticmonk committed Jan 13, 2019
1 parent 658ed01 commit 31f9b50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"axios": "^0.18.0",
"dotenv": "^6.2.0",
"electron-store": "^2.0.0",
"jquery": "^3.3.1",
"moment": "^2.23.0",
"semantic-ui-css": "^2.4.1",
"vue": "^2.5.16",
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import router from "./router";

import { remote } from "electron";

import "../../bower_components/jquery/dist/jquery.min.js";
import "../../bower_components/semantic/dist/semantic.min.css";
import "../../bower_components/semantic/dist/semantic.min.js";
import "../../node_modules/semantic-ui-css/semantic.min.css";

global.$ = require('jquery/dist/jquery');

if (!process.env.IS_WEB) Vue.use(require("vue-electron"));
Vue.http = Vue.prototype.$http = axios;
Expand Down

0 comments on commit 31f9b50

Please sign in to comment.