Skip to content

Instantly share code, notes, and snippets.

View devjin0617's full-sized avatar
💻
저는 개발을 합니다

cheongjin kim (김청진) devjin0617

💻
저는 개발을 합니다
View GitHub Profile
npm i --save-dev expose-loader
npm i --save jquery
import 'expose-loader?$!expose-loader?jQuery!jquery'
npm i --save bootstrap
import 'expose-loader?$!expose-loader?jQuery!jquery'
// 위에서 추가했던 jQuery 밑에 코드를 작성하세요
import 'bootstrap'
import 'bootstrap/dist/css/bootstrap.min.css'
<template>
...
<button type="button" class="btn btn-primary" autocomplate="off" data-loading-text="jquery with bootstrap" @click="clickBtn">
...
</template>
<script>
export default {
name: 'jQueryApp',
methods: {
@devjin0617
devjin0617 / app.js
Created July 28, 2016 14:02 — forked from StephenFluin/app.js
Sample Trello node.js Webhook Server
/**
* This is a sample webhook server that listens for webhook
* callbacks coming from Trello, and updates any cards that are
* added or modified so everyone knows they are "PRIORITY"
*
* To get started
* * Add your key and token below
* * Install dependencies via `npm install express request body-parser`
* * Run `node app.js` on a publicly visible IP
* * Register your webhook and point to http://<ip or domain>:3123/priority
@devjin0617
devjin0617 / git.sh
Last active April 5, 2017 04:56
git정리
# git remote 에 삭제된 브런치들 갱신하는 명령어(둘 중 하나만 사용하면 됨)
$ git remote prune origin
$ git remote update --prune
created: function() {
// ...
this.$nextTick(function() {
var dom = document.getElementById('item-0');
dom.style.backgroundColor = 'red';
});
}
@devjin0617
devjin0617 / settings.json
Created September 4, 2019 03:21
vscode vue lint & autofix setting file
{
"eslint.autoFixOnSave": true,
"editor.formatOnSave": true,
"files.associations": {
"*.vue": "vue"
},
"eslint.validate": [
{
"language": "javascript",
"autoFix": true