codelinered / vue-skeleton
Vue.js 骨架与 Gulp
2.2.0
2023-11-19 09:42 UTC
Requires
- php: >=5.5.9
This package is not auto-updated.
Last update: 2024-09-27 21:43:30 UTC
README
目录
包含
- jQuery 3
- Bootstrap 5
- Font Awesome 6
- Slick Carousel 1
- LazyLoad 17
- CSS User Agent 2
- Cookieconsent 3
- Vue 3
- Vue Router 4
- Vue i18n 9
- Vue SFC 1
安装生产构建(推荐)
在您的操作系统上的控制台中打开,并导航到您的项目文件夹。如果您在操作系统上没有 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。
安装主/开发构建
需求
- Node.js >= 16
- npm
$ npm i npm@latest -g
- gulp-cli
$ npm i gulp-cli@latest -g
windows-build-tools$ npm i windows-build-tools@latest -g
在您的操作系统上的控制台中打开,并导航到您的项目文件夹。如果您在操作系统上没有 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 以访问网站。