Skip to content

Commit fa8faec

Browse files
committed
# Conflicts: # composer.json
2 parents f1e7413 + 4aa92a6 commit fa8faec

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@ Fork of [craft-vue](https://github.com/chasegiunta/craft-vue) template that inte
2222

2323
### Fork It And Make Your Own
2424

25-
You can (and should) fork this repo to create your own boilerplate
25+
You can (and should) fork this repo to create your own boilerplate.
2626

27-
## Build Setup
27+
I've also created a fork of this boilerplate that integrates [TailwindCSS & Purgecss here](https://github.com/chasegiunta/craft-vue-tailwind)
28+
29+
## Setup
2830

2931
``` bash
3032
# create & install project
3133
composer create-project chasegiunta/craft-vue-tailwind PATH -s RC
3234

3335
# run Craft's setup command
36+
./craft setup
37+
38+
# install the Asset Rev plugin
39+
./craft install/plugin assetrev
3440

3541
# install dependencies
3642
npm install # yarn
@@ -45,7 +51,7 @@ npm run dev # yarn dev
4551
npm run build # yarn build
4652
```
4753

48-
Only _your assets_ will be served from `localhost:8080` and referenced in the base template. You'll still load your site locally under your normal development domain (domain.test, etc.)
54+
During development, only _your assets_ will be served from `localhost:8080` and referenced in the base template. You'll still load your site locally under your normal development domain (domain.test, etc.). This will also cause a brief unstyled flash on page loads due to assets loading from javascript for development. This flash isn't present after build, on production.
4955

5056
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
5157

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "chasegiunta/craft-vue-tailwind",
33
"description": "Fork of template that integrates the Tailwind CSS utility framework & removes unused CSS with Purgecss.",
4-
"version": "1.03",
4+
"version": "1.1.1",
55
"minimum-stability": "RC",
66
"keywords": [
77
"craft",

0 commit comments

Comments
 (0)