codelinered/vue-skeleton

Vue.js 骨架与 Gulp

安装: 1

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

语言:JavaScript

类型:项目

2.2.0 2023-11-19 09:42 UTC

This package is not auto-updated.

Last update: 2024-09-27 21:43:30 UTC


README

演示页面

目录

包含

安装生产构建(推荐)

在您的操作系统上的控制台中打开,并导航到您的项目文件夹。如果您在操作系统上没有 git,请下载 zip 文件

+++++ 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

如果您需要 PHP,您必须前往 安装 PHP

安装主/开发构建

需求

在您的操作系统上的控制台中打开,并导航到您的项目文件夹。如果您在操作系统上没有 git,请下载 zip 文件

+++++ 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

打开 localhost:3000 以访问网站。

安装 PHP(可选)

需求

在您的操作系统上的控制台中打开,并导航到解压/克隆的应用文件夹。

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

打开 localhost:7702 以访问网站。

项目命令

本地化

gulpfile.json

链接