Skip to content

ShaoAnLin/cpfilter

Repository files navigation

Overview

This is the source resource of official website CPFilter.com.

GitHub page: https://shaoanlin.github.io/cpfilter/

Development

Publish

Push to the github repository:

git push origin master

Push to the web hosting server:

git-ftp push

Local Development

Use Browser Sync to visualize website locally.

browser-sync start --server --directory --files "**/*"

Tools and Dependencies

ReactJS

Reuse component with ReactJS. The JS file ~/js/header.js is generated from ~/src/header.jsx. The JS scripts could be comiled by the Babel shell command.

./node_modules/.bin/babel src --out-dir js

RequireJS

Used to manage the JavaScript third party libraries. See ~/js/main.js and ~/js/main-<page>.js

CSS

Use SASS/SCSS to organize CSS files. Convert ~/stylesheets/sass/styles.scss to ~/stylesheets/theme.min.css.

You could use Tools like Prepros to do the preprocessing.

Package

Use npm to manage the installed packages.

npm ls package-name

Fix vulnerable npm packages.

npm audit fix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages