Skip to content

JacobsAlumni/jacobs-alumni-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jacobs-alumni-style

Style Elements for Jacobs Alumni Portal and Website

This is intended to be used with webpack like:

require("jacobs-alumni-style");

In NextJS it can instead be used like:

// in _app.js / _app.tsx
import "jacobs-alumni-style/src/style.scss";
import globalInit from "jacobs-alumni-style/src/style.mjs";

// ...
export default class App extends NextApp {
    componentDidMount() {
        globalInit();
    }
    render() {
        // ...
    }
}


// if you're using typescript, you also want to use this in next-env.d.ts:

/// <reference types="jacobs-alumni-style" />

This will add both required JavaScript and CSS to the page.

About

Style Elements for Jacobs Alumni Portal and Website

Resources

License

Stars

Watchers

Forks

Packages

No packages published