Skip to content

friedrith/animated-light-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animated light effect

Demo available here

This project is a demo using SVG and animation on scroll like Invision studio. This demo is explained in this Medium article.

Getting started

$ npm install

# development
$ npm run start

# production
$ npm run build

Project initialization

Development setup

# initialization npm module
$ npm init -y

# install webpack
$ npm install --save-dev cross-env webpack webpack-dev-server html-webpack-plugin

# install sass for webpack
$ npm install --save-dev css-loader style-loader sass-loader node-sass

# install babel for webpack
$ npm install --save-dev babel-loader babel-core babel-preset-react babel-plugin-transform-class-properties babel-plugin-transform-object-rest-spread babel-plugin-transform-es2015-modules-commonjs babel-preset-es2017 babel-preset-es2015 babel-preset-stage-0 # using babel-preset-react to load style file from js file

useful libraries: