Giter Site home page Giter Site logo

tonn-aprille / nuxt-starter-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mmoollllee/nuxt-starter-template

0.0 0.0 0.0 107.92 MB

Template for basic static site generated marketing website

Home Page: https://mmoollllee.github.io/nuxt-starter-template/

License: MIT License

JavaScript 5.15% PHP 5.77% Handlebars 1.14% Vue 64.01% SCSS 23.92%

nuxt-starter-template's Introduction

nuxt-starter-template

NUXT Template for static site generated marketing website

Features & Ready set up Built in

Demo

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

Configuration

General

  • nuxt.config.js
  • config/infos.json for contact information that will be used in different places site-wide
  • menus.json to generate main menu, footer menu and social menu

Image-Sizes

  • Check compontents/lib/ImageSet.vue to adjust image-sizes for your custom src-set

Webfonts

  • Add preconnect URL for external Webfonts to nuxt.config.js in head.link
  • Add Custom Families to nuxt.config.js in webfontloader (see: nuxt-webfontloader)
  • Optional: Use local-webfont to download webfonts css and add display: swap to css file (see: css/_font.scss)

Favicon & Manifest

  • Replace static/favicon.svg
  • Change config/faviconDescription.json or generate new one for nuxt-rfg-icon
  • favicon.ico will be generated through nuxt-rfg-icon

Sitemap

  • Change settings in nuxt.config.js
  • Use sitemap.routes to overwrite priorities or add more URLs

Contact Form

  • Change Message Body, Field names and email address in static/mailer.php
  • Generates Icon Font from assets/icons/*.svg to static/fonts/icon-font.*.
  • Uses config/fontasticon.js to map decimal unicode characters for the font.
  • Generates CSS Classes for different icons to css/_icons.scss from template placed in helpers/icon-font-template.hbs
  • Generates list of Icons to helpers/icons.json. Used in icons.vue page to show all icons. See package.json scripts key and config/fontasticon.js for options.
npm run icons

Cookie Message

  • Every key in cookieGroups in config/cookieMessage.json will be a group of services in the message. See the example to create new groups.
  • Use the store service to execute code when something is enabled.
  • see privacy.vue for related privacy informations

ToDo

Credits

Thanks to GigaHierz for helping prepare this repo and her feedback!

Thanks to HF Media for the stunning placeholder video.

Thanks to myself for the placeholder images.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.