SASS Β· Babel Β· Bootstrap Β· Parcel.JS Β· JQuery Β· Popper.JS
πββοΈ Made by @abhijithvijayan
This Parcel-Sass-bootstrap starter contains the features and scripts you need to get started quickly with Parcel bundler.
It contains the following features:
- ParcelJs
- Babel ES6 Compiler
- Bootstrap v4
- JQuery v3.3.1
- PopperJS
- Concatenate and minify JavaScript.
- Compile, minify, autoprefix SASS.
- Hot-Reloading
- Optimize and Cache Images
Make sure these are installed first.
-
npm install -g parcel-bundler
-
Clone the repo :
git clone https://github.com/abhijithvijayan/parcel-sass-bootstrap-boilerplate.git
-
In bash/terminal/command line,
cd parcel-sass-bootstrap-boilerplate
into project directory. -
Run
npm install
to install required files and dependencies. -
Launch the
development environment
with :npm run dev
Note: For Production, Use:
npm run build
This will build files and assets to dist/
directory.
src
- > source directory
.
βββ src
β βββ assets
β β βββ trollHuntersArcadia.png
β βββ sass
β β βββ _fonts.scss
β β βββ _reset.scss
β β βββ _variables.scss
β β βββ main.scss
β βββ index.js
β βββ index.html
.
-
Add your HTML files by inserting or including them in the
src
directory (By defaultindex.html
is added to the directory, feel free to edit it with the changes seen live.)-
For the new
HTML
file(s), link theindex.js
(in body tag) file in theHTML
files as they are created.<head> : <link href="sass/main.scss" rel="stylesheet" /> </head> <body> : <script src="index.js"></script> </body>
-
-
Add
sass
(SCSS) files tosrc/sass
folder.- Make sure you import the scss file in
main.scss
@import "filename";
- Make sure you import the scss file in
-
Add
images
tosrc/assets
folder.
Code released under the MIT License