- Notifications
You must be signed in to change notification settings - Fork0
A Vue.js Skeleton with Gulp
License
NotificationsYou must be signed in to change notification settings
CodelineRed/vue-skeleton
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- jQuery 3
- Bootstrap 5
- Font Awesome 6
- Slick Carousel 1
- LazyLoad 19
- CSS User Agent 2
- Cookieconsent 3
- Vue 3
- Vue Router 4
- Vue i18n 10
- Vue SFC 1
Open console on your OS and navigate to your project folder.Download zip if you don't have git on your OS.
php composer create-project --ignore-platform-reqs --no-dev codelinered/vue-skeleton vue-skeleton"dev-production"&&cd vue-skeleton
git clone https://github.com/CodelineRed/vue-skeleton.git&&cd vue-skeleton&& git checkout production
Unix
wget -O vs-prod.zip https://github.com/CodelineRed/vue-skeleton/archive/production.zip&& unzip vs-prod.zip&&cd vue-skeleton-production
Windows 10+
curl -L -o vs-prod.zip https://github.com/CodelineRed/vue-skeleton/archive/production.zip&& tar -xf vs-prod.zip&&cd vue-skeleton-production
If you need PHP, you have to go toInstall with Docker.
Open console on your OS and navigate to your project folder.Download zip if you don't have git on your OS.
php composer create-project --ignore-platform-reqs codelinered/vue-skeleton&&cd vue-skeleton&& npm i&& gulp build&& gulp watch
git clone https://github.com/CodelineRed/vue-skeleton.git&&cd vue-skeleton&& git checkout main&& npm i&& gulp build&& gulp watch
Unix
wget -O vs-main.zip https://github.com/CodelineRed/vue-skeleton/archive/main.zip&& unzip vs-main.zip&&cd vue-skeleton-main&& npm i&& gulp build&& gulp watch
Windows 10+
curl -L -o vs-main.zip https://github.com/CodelineRed/vue-skeleton/archive/main.zip&& tar -xf vs-main.zip&&cd vue-skeleton-main&& npm i&& gulp build&& gulp watch
Openlocalhost:3000 for Website.
Open console on your OS and navigate to the place where you want to install the project.
Unix
- Start Docker
systemctl docker start
- Copy and run commands below
docker run --rm --interactive --tty --volume$PWD:/app composer create-project --ignore-platform-reqs --no-dev codelinered/vue-skeleton vue-skeleton"dev-production"&&cd vue-skeleton&& docker-compose up -d&& xdg-open http://localhost:7702
Windows 10+
- Start Docker Desktop
"C:\Program Files\Docker\Docker Desktop.exe"
- Copy and run commands below
docker run --rm --interactive --tty --volume %cd%:/app composer create-project --ignore-platform-reqs --no-dev codelinered/vue-skeleton vue-skeleton"dev-production"&&cd vue-skeleton&& docker-compose up -d&& start http://localhost:7702
Openlocalhost:7702 for Website.
Description | |
---|---|
gulp | watch files and startBrowserSync |
gulp build | executes following tasks: cleanUp, favicon, font, img, js, jsLint, jsRequire, jsRequireSAR, json, scss, scssLint, svg, vue, vueJs, vueJsLint, vueLint |
gulp lint | 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 followslint 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 followslint 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 followslint rules |
gulp vueLint | checks vue followslint rules |
gulp watch | watch scss, js, json, vue, img, font and svg files |
Description | |
---|---|
browserSyncConfig | Required - Defines which config is used forBrowserSync (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) |
About
A Vue.js Skeleton with Gulp
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.