Content
Tooling Setup
You can find all compiled ready to use files and HTML usecase samples at tourist-attraction directories, and CSS files at assets/css directory. Follow these steps below only if you want to customize the CSS files.
Before customizing, you need to prepare the build tools that are used by Luxize. Same like Bootstrap, Luxize uses npm scripts for its build system. Luxize also using Clean CSS, POST CSS and Browsersync. To use luxize build system and run locally, follow these steps and you should be ready to customize:
- Download and install Node.js, which we use to manage our dependencies.
- Download and install Terminal App if you dont have one.
- Extract
luxize-tourist-attractionfiles that you have downloaded. - Open your terminal, and navigate to the root
/luxize-tourist-attractiondirectory - Run
npm installto install our local dependencies listed inpackage.json. - Run
npm i -D postcss postcss-clito install POST CSS - Run
npm install -g browser-syncto install Browsersync - Your build tools are now ready to run.
NPM scripts
On your terminal, run (type + enter) npm start to start the build tools. Open url http://localhost:3000/ in your browser to see the result.
Now, everytime you make changes to SCSS files, the build tools will automatically compile new CSS files, and put them into dist/assets/css directory, and the css files will automatically updated to your browser.
To stop the build tool, press Ctrl + C on your terminal.