How To Install Blueskin On Foundation
Installation
There are many ways to install Foundation, only if yous're just getting started, we accept a few suggestions.
Install with Package Managers
Foundation is available on npm, Bower, Meteor, and Composer. The packet includes all of the source Sass and JavaScript files, as well as compiled CSS and JavaScript, in uncompressed and compressed flavors.
npm install foundation-sites
yarn add foundation-sites
Hither's what comes in the package.
├─ scss Source Sass files. Use this folder every bit a load path in Sass. ├─ js Source JavaScript files. If you're using a build system, make sure `foundation.core.js` is loaded first. └─ dist Compiled files: ├─ css * Compiled CSS files. Includes minified and unminified files. ├─ js * Concatenated JavaScript files. Includes minified and unminified files. └─ plugins * Standalone JavaScript plugins.
Install with Foundation CLI
Not a fan of GUIs? The Node-powered Foundation CLI can install the same template projects for you.
Install Foundation CLI:
npm install --global foundation-cli # or sudo npm install --global foundation-cli
Depending on how your machine is configured, the command may fail with an `EACCESS` fault. To go around this, run the commands with `sudo` at the beginning.
Then use to create a new Foundation project:
Later on you selected "Foundation for Sites", Foundation CLI will enquire y'all which template you want to utilise. Yous can choose betwixt:
Basic template
Recommended for beginners
A basic template to begin to use Foundation. It includes:
- Foundation for Sites pre-configured.
- Sass compilation
A tool to convert your SASS/SCSS files to CSS. - Starter HTML file
A basic file to help you to utilise basic Foundation component (including the new XY grid !)
ZURB template
Recommended for experienced (or curious) users
A more advanced project including Foundation and a build process with:
- Handlebars HTML templates with Panini
- Sass compilation and prefixing
- JavaScript module bundling with webpack
- Built-in BrowserSync
- Product build with CSS, Javascript and Image pinch
Run into advanced Template installations
Foundation 5 users: if you already have the Foundation 5 CLI on your car, yous will only be able to access one of the commands, depending on how your control line environment is configured.
To remove the Foundation 5 CLI, run gem uninstall foundation
. Later on testing the Foundation 6 CLI, if yous want to remove it to go back to the old CLI, run npm uninstall foundation-cli --global
.
Windows users: brand sure you lot've python v2.7 available in your node surroundings since it's required by the node-gyp tool. At that place are two manner to achieve this
- Install the windows-build-tools (recommended) and make python afterward accessible via
npm config gear up python "%USERPROFILE%\.windows-build-tools\python27\python.exe"
- Install python (non recommended) and add information technology to your system environment variables
The first mode is recommended if yous've not installed python v2.7 yet equally it doesn't bear on your machine outside the node environment. In instance you've already installed python v2.vii you may of class skip both ways and get-go using foundationc-cli immediately.
Download
If you aren't into Sass, we have a starter template with compiled CSS and JavaScript, too as a starting `index.html` file for you to hack on. Just unzip and go coding!
Download Foundation
CDN Links
The folks at jsDelivr host the compressed Foundation CSS and JavaScript for us. Just drop 1 of these <script>
tags into your HTML and you're prepare:
<!-- Compressed CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.internet/npm/foundation-sites@6.seven.four/dist/css/foundation.min.css" crossorigin="bearding"> <!-- Compressed JavaScript --> <script src="https://cdn.jsdelivr.net/npm/foundation-sites@half dozen.seven.iv/dist/js/foundation.min.js" crossorigin="anonymous"> </script>
From Foundation half-dozen.iv, flex is enabled by default and merely the new XY Grid is available. However, others CSS versions are available for backward compatibility and the virtually common usage cases. For others uses and advanced customization, we recommand to build Foundation with custom settings (see others installation methods).
<!-- foundation-float.min.css: Compressed CSS with legacy Float Grid --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@six.vii.four/dist/css/foundation-float.min.css" crossorigin="anonymous"> <!-- foundation-paradigm.min.css: Compressed CSS with prototyping classes --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@6.7.4/dist/css/foundation-prototype.min.css" crossorigin="bearding"> <!-- foundation-rtl.min.css: Compressed CSS with correct-to-left reading management --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@vi.7.4/dist/css/foundation-rtl.min.css" crossorigin="anonymous">
HTML Starter Template
Start with this HTML template and adapt it to your needs. Exist certain to include the .no-js
class on the html
tag of your template. Adding this course prevents flash of unstyled content for a number of foundation components.
<!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=border"> <meta proper name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Foundation Starter Template</title> <link rel="stylesheet" href="css/foundation.css" /> </caput> <body> <h1>Howdy, world!</h1> <script src="js/vendor/jquery.js"> </script> <script src="js/vendor/what-input.js"> </script> <script src="js/vendor/foundation.min.js"> </script> <script> $(document).foundation(); </script> </trunk> </html>
Other Integrations
The Foundation community has helped us integrate the framework into Rails, WordPress, Django, and more. Head to our resource page to observe even more ways to apply Foundation.
Source: https://get.foundation/sites/docs/installation.html
Posted by: nelsonwhostravion.blogspot.com
0 Response to "How To Install Blueskin On Foundation"
Post a Comment