Giter Club home page Giter Club logo

moso-vite's Introduction

moso-vite

Brutalist Web Design meets Vue and Nuxt, and the blazingly fast Vite

My intepretation of 'Brutalist Web Design'.

Warning: This is very opinionated!

I love the idea of writing less CSS in general, which is why I initially fell in love with Sass, as I have to write less to get more. However, layouts are often very dependent on third-party frameworks, including but not limited to, CSS or JS, which expands the website size exponentially - for the worse. The filesize of most websites today is larger than the entire game Doom when it was released back in the day. This is where Brutalist Web Design comes in. Letting the browser handle layouts - as it's meant to do - with its built-in styles.

However, I know I need at least some form of control over the browser's styles. And each browser has its different quirks. So this is my attempt to be as basic as I can, and still have a website looking relatively good.

This also means no grids. I'd say flexbox is allowed, as you can control the flow of elements with less CSS, and I'd still like to make this for relatively modern browsers (IE11+). I guess you could do grids if you absolutely have to with display: grid, but that's not the idea behind Brutalist Web Design.

Source: https://brutalist-web.design

The core styling for this site, not counting scoped styling for Vue components:

  • 725 bytes when minified
  • 399 bytes when gzipped

Yes bytes.

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.

moso-vite's People

Contributors

moso 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.