perksgugl.blogg.se

Include an unpkg script
Include an unpkg script













include an unpkg script

Make sure to import this file before the component script file. util.js: utility functions used in the CodyHouse components.style.scss: used to import the _base.scss and _custom-style.scss files.custom-style/*: SCSS templates you can use to create your bespoke style.base/*: essential CSS rules and utility classes (we suggest you don't modify these files).If you use our components, make sure to import the 'util.js' file before the component script files. In your 'style.scss' file, import the '_base.scss' and '_custom-style.scss' files. The SCSS files contained in the folder are used to set the custom style (e.g., buttons and forms) of your project. Make a copy of the framework 'custom-style' folder and '_custom-style.scss' file and paste it in your project. - 👇 update this path according to your content './././node_modules/codyhouse-framework/main/assets/css/base'

include an unpkg script

import the basic style of the framework ⚠️ Note: make sure you have Npm installed.Ĭreate a '_base.scss' file and import the base style of the framework: // _base.scss file

Include an unpkg script install#

Install the framework via npm: # Using npm To create your custom style (e.g., buttons and form elements), use the Gulp starter template. Importing the framework via CDN can be useful for quick prototyping. ĭocument.getElementsByTagName("html").className += " js" ⚠️ Note: make sure you have Npm, Node, and Git installed.Īlternatively, you can import via CDN the CSS and JS of the framework. Launch your project on a development server. Then run the following two commands to start a web project based on the Gulp configuration file included in the framework:Ģ.















Include an unpkg script