GithubHelp home page GithubHelp logo

codelinered / vue-skeleton Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 70.76 MB

A Vue.js Skeleton with Gulp

Home Page: https://vue.codelinered.net

License: MIT License

JavaScript 54.81% HTML 11.78% PHP 0.03% Vue 25.59% SCSS 7.79%
jquery fontawesome bootstrap vuejs vue-router vue-i18n slick-carousel lazyload gulp

vue-skeleton's Introduction

Vue Skeleton - CodelineRed

Demo page

Table of contents

Included

Install Production Build (Recommended)

Open console on your OS and navigate to your project folder. Download zip if you don't have git on your OS.

+++++ ZIP VERSION +++++
$ (unix) wget -O vs-prod.zip https://github.com/CodelineRed/vue-skeleton/archive/production.zip
$ (unix) unzip vs-prod.zip
$ (win10) curl -L -o vs-prod.zip https://github.com/CodelineRed/vue-skeleton/archive/production.zip
$ (win10) tar -xf vs-prod.zip
+++++ GIT VERSION +++++
$ git clone https://github.com/CodelineRed/vue-skeleton.git
$ cd vue-skeleton
$ git checkout production
$ (optional on unix) rm -rf .git
$ (optional on win10) rmdir .git /s
+++++ COMPOSER VERSION +++++
$ php composer create-project codelinered/vue-skeleton vue-skeleton "dev-production"
$ cd vue-skeleton

If you need PHP, you have to go to Install PHP.

Install Master/ Develop Build

Required

Open console on your OS and navigate to your project folder. Download zip if you don't have git on your OS.

+++++ ZIP VERSION +++++
$ (unix) wget -O vs-mstr.zip https://github.com/CodelineRed/vue-skeleton/archive/master.zip
$ (unix) unzip vs-mstr.zip
$ (win10) curl -L -o vs-mstr.zip https://github.com/CodelineRed/vue-skeleton/archive/master.zip
$ (win10) tar -xf vs-mstr.zip
$ cd vue-skeleton-master
$ npm i
$ gulp build
$ gulp
+++++ GIT VERSION +++++
$ git clone https://github.com/CodelineRed/vue-skeleton.git
$ cd vue-skeleton
$ git checkout master
$ (optional on unix) rm -rf .git
$ (optional on win10) rmdir .git /s
$ npm i
$ gulp build
$ gulp
+++++ COMPOSER VERSION +++++
$ php composer create-project codelinered/vue-skeleton
$ cd vue-skeleton
$ npm i
$ gulp build
$ gulp

Open localhost:3000 for Website.

Install PHP (optional)

Required

Open console on your OS and navigate to the unziped/ cloned app folder.

$ (unix) systemctl docker start
$ (windows) "c:\path\to\Docker Desktop.exe"
$ docker-compose up -d

Open localhost:7702 for Website.

Project Commands

Description
gulp watch files and start BrowserSync
gulp build executes following tasks: cleanUp, favicon, font, img, js, jsLint, jsRequire, jsRequireSAR, json, scss, scssLint, svg, vue, vueJs, vueJsLint, vueLint
gulp lintAll executes following tasks: jsLint, scssLint, vueJsLint, vueLint
gulp cleanUp clean up public folder
gulp favicon generate favicons
gulp font copy font files
gulp img copy and compress images
gulp js uglify, minify and concat js files
gulp jsLint checks js follows lint rules
gulp jsRequire copy, uglify and rename files for requirejs
gulp jsRequireSAR search and replace text in third party files (use this after every gulp jsRequire)
gulp json copy and minify json files
gulp scss compile, minify and concat scss files
gulp scssLint checks scss follows lint rules
gulp svg copy and compress svg files
gulp thankYou a small thank for you
gulp vue transpile vue files
gulp vueJs transpile vue js files
gulp vueJsLint checks vue js follows lint rules
gulp vueLint checks vue follows lint rules
gulp watch watch scss, js, json, vue, img, font and svg files

Localization

Description
browserSyncConfig Required - Defines which config is used for BrowserSync (default: browserSyncDev)
sourcePath Required - Path to raw files (default: src/)
publicPath Required - Path to transpiled files (default: public/)
systemPath Optional - Alternative Path to transpiled files on CMS, ECS, PHP Framework, ... (default: path/to/system/)
env Required - Environment dev, test or prod (default: dev)

Links

vue-skeleton's People

Contributors

codelinered avatar

Watchers

 avatar

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.