sass-swing-starter
Modèle de démarrage pour le framework SCSS/CSS Sass Swing
Starter kit pour démarrer un nouveau projet front-end avec Sass Swing Ce modèle vous fournit le minimum pour bien commencer. Il contient le compilateur SASS pour les fichiers SCSS et le bundler ROLLUP
Si vous désirez utiliser un bundler tel que webpack, parcel ou autre, c'est à vous de les mettre en place et de les configurer.
Explorer le framework Sass Swing
Signaler un Bug
·
Proposer une Feature
La structure du projet se présente ainsi :
Mon-site-web/
|--dist/
| |--public
| |--assets
| | |--icons
| | |--images
| | |--fonts
| |--styles
| |--scripts
|--src
|--assets
| |--icons
| |--images
| |--fonts
|--styles
| |--scss
| |-index.scss
|--scripts
| |-script_index.js
|--index.html
De base le fichier index.html
contient dans le <head>
toutes les balises open graph de base et tous les tags indispensables pour un bon référencement SEO.
Téléchargez ou clonez les sources
> git clone https://github.com/jdelauney/sass-swing-starter.git
Installez des dépendances
> npm install
Pour remplir facilement les tags de la balise <head>
vous aurez à remplacer les variables suivantes :
${title}
${desc}
${brand}
${domain-url}
eg site.com${app-name}
eg le nom de votre produit${opengraph-thumb}
eg page-thumb.jpg
Le reste sera à remplir et/ou modifier selon vos besoins.
> npm run build:css
Cette commande compilera Cette commande compilera vos fichiers SCSS et minifiera le CSS dans le dossier ./dist/public/styles
.
> npm run build:js
Cette commande bundlera et minifiera vos fichiers javascript dans le dossier ./dist/public/scripts
.
> npm run build
Cette commande compilera vos fichiers SCSS et minifiera le CSS dans le dossier ./dist/public/styles
.
Vos fichiers javascript seront bundlés et minifiés dans le dossier ./dist/public/scripts
.
Enfin vos fichiers HTML et le dossier ./src/assets
.seront copiés dans le dossier ./dist
Sass Swing est distribué sous la licence MIT
Copyright (c) 2021-2022 Jérôme Delauney et autres contributeurs
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
👤 Jérôme Delauney
- Website: https://jdelauney.github.io
- Github: @jdelauney
- LinkedIn: @Jérôme Delauney
- Twitter: #Jérôme Delauney
Donnez nous une étoile ⭐️ si vous trouvez ce projet intéressant ou qu'il vous aide !
Les contributions sont ce qui fait de la communauté open source un endroit incroyable pour apprendre, inspirer et créer.
Toutes les contributions que vous faites sont grandement appréciées.
Si vous avez une suggestion qui améliorerait cela, veuillez "forker" le dépôt et créer une "pull request". Vous pouvez également simplement ouvrir une "issue" avec la balise 'amélioration' ou autre.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/TheFeature
)- Or switch to existing branch (
git checkout feature/TheFeatureToFix
)
- Or switch to existing branch (
- Commit your Changes
- Commit a new feature (
git commit -m 'feat: do something'
) - Or commit a fix (
git commit -m 'fix: Correct something'
)
- Commit a new feature (
- Push to the Branch (
git push origin feature/TheFeature
) - Open a Pull Request
N'oubliez pas de mettre une étoile ⭐️ au projet !
Merci encore !
Développez vous avec ❤️