Project "Full Application Stack Toolkit" is a modern frontend framework inspired by Google's Material Design.
NPM
npm install project-fast
Yarn
yarn add project-fast
Go to the project-fast folder (node_modules/project-fast)
Generate the toolkit with:
yarn run toolkit
Compile the assets with:
yarn run build
Add the following code to webpack.mix.js:
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.options({
postCss: [
require('pixrem')()
]
})
.scripts([
'node_modules/project-fast/src/assets/js/bundle.js',
'node_modules/project-fast/src/assets/js/app.min.js'
], 'public/backend/js/bundle.js');
Change the code in resources/assets/sass/app.scss
to:
// Variables
@import "variables";
// Project FAST
@import '~project-fast/src/assets/scss/includes.scss';