Base to create a website using MaterializeCSS + Vite (Non React)
- Clone repository
git clone git@github.com:dfrios/materializecss-base.git
- Install dependencies
yarn
You also may use:
yarn install
- You should get a folder structure like this:
├── index.html
├── LICENSE
├── node_modules
│ ├── ...
├── package.json
├── public
│ └── vite.svg
├── README.md
├── src
│ ├── css
│ │ └── style.css
│ ├── fonts
│ ├── img
│ │ ├── isotipo.png
│ │ └── typescript.svg
│ ├── js
│ │ ├── base
│ │ │ └── materializecss.ts
│ │ └── main.ts
│ └── vite-env.d.ts
├── tsconfig.json
└── yarn.lock
- That's it!
This is the base file and it's the entry point to the project. It's the file where HTML is written in your landing.
The file where styles are written.
The file where JavaScript code is written.