Giter Site home page Giter Site logo

feml__learningkit's Introduction

FEML 러닝 킷(Learning Kit)

FEML 모듈B 과정에서 다루는 데모 실습을 위한 러닝 킷입니다.


다운로드 및 설치

러닝 킷은 Node.js 기반 환경에서 작동하므로 Node.js가 사용자 환경에 설치되어 있어야 합니다. 러닝 킷 디렉토리에서 아래 명령을 실행해 필요한 모듈을 설치합니다.

$ npm install

실행 명령

개발을 시작하는 기본 명령입니다.

$ npm start

추가 명령은 다음과 같습니다.

# .cache, dist, src/css 디렉토리 제거
$ npm run clean

# Parcel 모듈 번들러 + Live Server를 사용하여 개발 서버 구동
$ npm run dev

# 배포를 위한 빌드
$ npm run build

명령 설정을 변경하려면 package.json 파일을 열어 scripts 항목을 수정하세요.


러닝 킷 디렉토리 구조

src 디렉토리 안에서 개발 과정을 학습합니다.

src/ # 개발 디렉토리
├── index.html
├── assets/ # 에셋 디렉토리
│   └── favicon.png
├── js/ # ES6(JS) 디렉토리
│   ├── entry.js
│   └── feml__headerbar--animation.js
├── lib/ # 라이브러리 디렉토리
│   └── IE/ # IE 호환
│       ├── classList.min.js
│       ├── flexibility.min.js
│       ├── ie8.min.js
│       └── index.js
└── stylus/ # Stylus 디렉토리
    ├── config.styl
    ├── entry.styl
    ├── feml__headerbar.styl
    ├── modules/ # 모듈 디렉토리
    │   ├── a11y.styl
    │   ├── base.styl
    │   ├── common.styl
    │   ├── layout.styl
    │   ├── normalize.styl
    │   ├── transition-animation.styl
    │   └── typography.styl
    └── utils/ # 유틸리티 디렉토리 (함수 등)
        ├── remify.styl
        ├── fontSize.styl
        └── index.styl

러닝 킷 구성

러닝 킷에서 사용하는 도구는 다음과 같습니다.

도구 설명 비고
Parcel 모듈 번들러 Webpack, Rollup, Gulp 등으로 대체 가능
Live Server 개발 서버 BrowserSync로 대체 가능
Stylus CSS 프리프로세서 CSS, Scss, Sass 문법 모두 사용 가능
PostCSS CSS 변환 도구 구형 브라우저 호환성 자동 처리, LostGrid 활용 가능
Babel JavaScript 컴파일러 ECMAScript 2015+ 문법 호환 처리 (ES5로 변환)

설정 참고

도구 설정은 각 링크를 클릭해 참고하세요.

Parcel 기본 설정

개발 서버 및 미들웨어 설정


버전 히스토리

  • v1.0.1 - live-server + pacel로 개발/빌드 환경 구성
  • v1.0.0 - parcel로 개발/빌드 환경 구성

feml__learningkit's People

Contributors

dependabot[bot] avatar yamoo9 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.