├── .deployment
├── .editorconfig
├── .eslintrc.js
├── .github
└── FUNDING.yml
├── .gitignore
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── assets
└── main.css
├── components
├── AppCheckout.vue
├── AppFooter.vue
├── AppItem.vue
├── AppLoader.vue
├── AppMasthead.vue
├── AppNavigation.vue
├── AppSidebar.vue
├── AppSuccess.vue
└── AppSwitch.vue
├── deploy.cmd
├── dist
├── .nojekyll
├── 200.html
├── README.md
├── _nuxt
│ ├── LICENSES
│ ├── app.6c0e167f74d5671c0df8.js
│ ├── app.6c0e167f74d5671c0df8.js.map
│ ├── common.8128640c49a422d3e4b3.js
│ ├── common.8128640c49a422d3e4b3.js.map
│ ├── layouts
│ │ ├── default.b96ce676a48e8edd70cd.js
│ │ └── default.b96ce676a48e8edd70cd.js.map
│ ├── manifest.4ccfb9b79cced0a86787.js
│ ├── manifest.4ccfb9b79cced0a86787.js.map
│ └── pages
│ │ ├── cart.8ee4f9d335f58c37c289.js
│ │ ├── cart.8ee4f9d335f58c37c289.js.map
│ │ ├── index.bc753ab75fa077f8731b.js
│ │ ├── index.bc753ab75fa077f8731b.js.map
│ │ ├── men.b0d4fd0ef0d516183a92.js
│ │ ├── men.b0d4fd0ef0d516183a92.js.map
│ │ ├── sale.bd5be994ecab3547b004.js
│ │ ├── sale.bd5be994ecab3547b004.js.map
│ │ ├── women.af84e502a4ed238697c8.js
│ │ └── women.af84e502a4ed238697c8.js.map
├── banner-ppl-women.png
├── banner-ppl.png
├── bk-sale.png
├── cart
│ └── index.html
├── favicon.ico
├── hat1.png
├── index.html
├── jacket1.png
├── jacket2.png
├── jacket3.png
├── jacket4.png
├── men
│ └── index.html
├── sale
│ └── index.html
├── shirt1.png
├── shirt2.png
├── shoe1.png
├── sweater1.png
├── sweater2.png
├── sweater3.png
├── sweater4.png
├── sweater5.png
└── women
│ └── index.html
├── layouts
└── default.vue
├── nuxt.config.js
├── package.json
├── pages
├── cart.vue
├── index.vue
├── men.vue
├── sale.vue
└── women.vue
├── static
├── README.md
├── banner-ppl-women.png
├── banner-ppl.png
├── bk-sale.png
├── favicon.ico
├── hat1.png
├── jacket1.png
├── jacket2.png
├── jacket3.png
├── jacket4.png
├── shirt1.png
├── shirt2.png
├── shoe1.png
├── sweater1.png
├── sweater2.png
├── sweater3.png
├── sweater4.png
└── sweater5.png
├── store
└── index.js
├── web.config
└── yarn.lock
/.deployment:
--------------------------------------------------------------------------------
1 | [config]
2 | command = deploy.cmd
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_size = 2
6 | indent_style = space
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | parser: 'babel-eslint',
4 | env: {
5 | browser: true,
6 | node: true
7 | },
8 | extends: 'standard',
9 | // required to lint *.vue files
10 | plugins: [
11 | 'html'
12 | ],
13 | // add your custom rules here
14 | rules: {},
15 | globals: {}
16 | }
17 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [sdras]
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ### OSX ###
2 | *.DS_Store
3 | .AppleDouble
4 | .LSOverride
5 |
6 | # Icon must end with two
7 | Icon
8 | # Thumbnails
9 | ._*
10 | # Files that might appear in the root of a volume
11 | .DocumentRevisions-V100
12 | .fseventsd
13 | .Spotlight-V100
14 | .TemporaryItems
15 | .Trashes
16 | .VolumeIcon.icns
17 | .com.apple.timemachine.donotpresent
18 | # Directories potentially created on remote AFP share
19 | .AppleDB
20 | .AppleDesktop
21 | Network Trash Folder
22 | Temporary Items
23 | .apdisk
24 |
25 | ### Node ###
26 | # Logs
27 | logs
28 | *.log
29 | npm-debug.log*
30 |
31 | # Runtime data
32 | pids
33 | *.pid
34 | *.seed
35 | *.pid.lock
36 |
37 | # Directory for instrumented libs generated by jscoverage/JSCover
38 | lib-cov
39 |
40 | # Coverage directory used by tools like istanbul
41 | coverage
42 |
43 | # nyc test coverage
44 | .nyc_output
45 |
46 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
47 | .grunt
48 |
49 | # node-waf configuration
50 | .lock-wscript
51 |
52 | # Compiled binary addons (http://nodejs.org/api/addons.html)
53 | build/Release
54 |
55 | # Dependency directories
56 | node_modules
57 | jspm_packages
58 |
59 | # Optional npm cache directory
60 | .npm
61 |
62 | # Optional eslint cache
63 | .eslintcache
64 |
65 | # Optional REPL history
66 | .node_repl_history
67 |
68 | # Output of 'npm pack'
69 | *.tgz
70 |
71 | # Yarn Integrity file
72 | .yarn-integrity
73 |
74 | # Other
75 | .nuxt
76 | .cache
77 |
78 | # Dist folder
79 | dist
80 |
81 | # Dist example generation
82 | examples/**/dist
83 |
84 | # Coverage support
85 | coverage
86 | *.lcov
87 | .nyc_output
88 | .vscode
89 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6 |
7 | ## Our Standards
8 |
9 | Examples of behavior that contributes to creating a positive environment include:
10 |
11 | * Using welcoming and inclusive language
12 | * Being respectful of differing viewpoints and experiences
13 | * Gracefully accepting constructive criticism
14 | * Focusing on what is best for the community
15 | * Showing empathy towards other community members
16 |
17 | Examples of unacceptable behavior by participants include:
18 |
19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances
20 | * Trolling, insulting/derogatory comments, and personal or political attacks
21 | * Public or private harassment
22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission
23 | * Other conduct which could reasonably be considered inappropriate in a professional setting
24 |
25 | ## Our Responsibilities
26 |
27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28 |
29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30 |
31 | ## Scope
32 |
33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34 |
35 | ## Enforcement
36 |
37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at sarah.drasner@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38 |
39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40 |
41 | ## Attribution
42 |
43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44 |
45 | [homepage]: http://contributor-covenant.org
46 | [version]: http://contributor-covenant.org/version/1/4/
47 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Sarah Drasner
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | **Note: This repo is no longer being maintained in favor of a newer, improved version: [https://github.com/sdras/ecommerce-netlify](https://github.com/sdras/ecommerce-netlify)**
2 |
3 | # Vue Sample Shop
4 |
5 | This small demo shows how to accept payments with stripe with Vue.js using a
6 | serverless function. It's actually not that bad to set up! The shop also shows
7 | how a number of concepts work in Vue. Server side rendering and routing is done
8 | with Nuxt.js. Centralized state management with Vuex for product details. Of
9 | note, using computed properties, `.sync`, CSS Grid, and `transition-group`.
10 |
11 | Live demo at
12 | [https://shoppity.azurewebsites.net/](https://shoppity.azurewebsites.net/)
13 |
14 | Articles explaining the demo will be available soon at
15 | [https://css-tricks.com/](https://css-tricks.com/)
16 |
17 | The serverless function is open source as well, available at this repo
18 | [https://github.com/sdras/sample-stripe-handler](https://github.com/sdras/sample-stripe-handler)
19 |
20 | 
21 |
22 | ## Build Setup
23 |
24 | ```bash
25 | # install dependencies
26 | $ npm install # Or yarn
27 |
28 | # serve with hot reload at localhost:3000
29 | $ npm run dev
30 |
31 | # generate static project, get ready for launch on app services
32 | $ npm run generate
33 | ```
34 |
--------------------------------------------------------------------------------
/assets/main.css:
--------------------------------------------------------------------------------
1 | /* ---- global styles ---- */
2 |
3 | body,
4 | html {
5 | padding: 0;
6 | margin: 0;
7 | background: #e6eefb;
8 | font-size: 16px;
9 | word-spacing: 1px;
10 | -ms-text-size-adjust: 100%;
11 | -webkit-text-size-adjust: 100%;
12 | -moz-osx-font-smoothing: grayscale;
13 | -webkit-font-smoothing: antialiased;
14 | box-sizing: border-box;
15 | font-family: 'Barlow', Helvetica, Arial, sans-serif;
16 | }
17 |
18 | #app {
19 | font-family: 'Barlow', Helvetica, Arial, sans-serif;
20 | -webkit-font-smoothing: antialiased;
21 | -moz-osx-font-smoothing: grayscale;
22 | text-align: center;
23 | color: white;
24 | }
25 |
26 | h1,
27 | h2,
28 | h3,
29 | h4 {
30 | font-family: 'Playfair Display', serif;
31 | font-weight: 700;
32 | }
33 |
34 | p,
35 | li {
36 | font-family: 'Barlow', sans-serif;
37 | }
38 |
39 | /* Reset `button` and button-style `input` default styles */
40 | input[type='submit'],
41 | input[type='reset'],
42 | input[type='button'],
43 | button {
44 | background: none;
45 | border: 0;
46 | color: inherit;
47 | font: inherit;
48 | line-height: normal;
49 | overflow: visible;
50 | padding: 0;
51 | -webkit-appearance: button; /* for input */
52 | -webkit-user-select: none; /* for button */
53 | -moz-user-select: none;
54 | -ms-user-select: none;
55 | }
56 |
57 | input::-moz-focus-inner,
58 | button::-moz-focus-inner {
59 | border: 0;
60 | padding: 0;
61 | }
62 |
63 | button {
64 | padding: 10px 30px;
65 | font-size: 13px;
66 | font-weight: 600;
67 | border-radius: 1000px;
68 | cursor: pointer;
69 | background: white;
70 | color: #3e64ea;
71 | border: 1px solid #3e64ea;
72 | font-family: 'Barlow', sans-serif;
73 | text-transform: uppercase;
74 | margin: 10px;
75 | transition: 0.15s all ease-out;
76 | }
77 |
78 | button:hover {
79 | background: #3e64ea;
80 | color: white;
81 | transition: 0.2s all ease-in;
82 | }
83 |
84 | *,
85 | *:before,
86 | *:after {
87 | box-sizing: border-box;
88 | margin: 0;
89 | }
90 |
91 | .capsule {
92 | width: 100%;
93 | max-width: 1100px;
94 | margin: 0 auto;
95 | }
96 |
97 | input[type='email'] {
98 | line-height: 24px;
99 | font-family: Helvetica Neue;
100 | font-size: 16px;
101 | height: 24px;
102 | width: 100%;
103 | -webkit-font-smoothing: antialiased;
104 | }
105 |
106 | input::placeholder,
107 | input::-webkit-input-placeholder,
108 | input::-moz-placeholder,
109 | input:-ms-input-placeholder,
110 | input:-moz-placeholder {
111 | color: #aab8c3;
112 | }
113 |
114 | /* ---- items layout ---- */
115 |
116 | /* no grid support */
117 | aside {
118 | float: left;
119 | width: 19.1489%;
120 | }
121 |
122 | .content {
123 | /*no grid support*/
124 | float: right;
125 | width: 79.7872%;
126 | /* grid */
127 | display: grid;
128 | grid-template-columns: repeat(3, 1fr);
129 | grid-gap: 10px;
130 | padding: 0 !important;
131 | }
132 |
133 | @supports (display: grid) {
134 | .capsule > * {
135 | width: auto;
136 | margin: 0;
137 | }
138 | }
139 |
140 | /* --- items animation --- */
141 |
142 | .items-leave-active {
143 | transition: all 0.2s ease-in;
144 | }
145 |
146 | .items-move {
147 | transition: all 0.2s ease-in-out;
148 | }
149 |
150 | .items-enter-active {
151 | transition: all 0.2s ease-out;
152 | }
153 |
154 | .items-enter,
155 | .items-leave-to {
156 | opacity: 0;
157 | transform: scale(0.9);
158 | transform-origin: 50% 50%;
159 | }
160 |
161 | /* --- fade animation --- */
162 |
163 | .fade-leave-active {
164 | transition: all 0.2s ease-in;
165 | }
166 |
167 | .fade-enter-active {
168 | transition: all 0.2s ease-out;
169 | }
170 |
171 | .fade-enter,
172 | .fade-leave-to {
173 | opacity: 0;
174 | }
175 |
176 | /* --- range --- */
177 |
178 | input[type='range'].slider {
179 | -webkit-appearance: none;
180 | width: 100%;
181 | margin: 25px 0 5px;
182 | }
183 |
184 | input[type='range'].slider:focus {
185 | outline: none;
186 | }
187 |
188 | input[type='range'].slider::-webkit-slider-runnable-track {
189 | width: 100%;
190 | height: 4.3px;
191 | cursor: pointer;
192 | box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
193 | background: #3e64ea;
194 | border-radius: 13.7px;
195 | border: 0px solid rgba(1, 1, 1, 0);
196 | }
197 |
198 | input[type='range'].slider::-webkit-slider-thumb {
199 | box-shadow: 0px 0px 0px rgba(0, 0, 62, 0), 0px 0px 0px rgba(0, 0, 88, 0);
200 | border: 1.9px solid #3e63ea;
201 | height: 17px;
202 | width: 17px;
203 | border-radius: 31px;
204 | background: #ffffff;
205 | cursor: pointer;
206 | -webkit-appearance: none;
207 | margin-top: -6.35px;
208 | }
209 |
210 | input[type='range'].slider:focus::-webkit-slider-runnable-track {
211 | background: #5576ed;
212 | }
213 |
214 | input[type='range'].slider::-moz-range-track {
215 | width: 100%;
216 | height: 4.3px;
217 | cursor: pointer;
218 | box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
219 | background: #3e64ea;
220 | border-radius: 13.7px;
221 | border: 0px solid rgba(1, 1, 1, 0);
222 | }
223 |
224 | input[type='range'].slider::-moz-range-thumb {
225 | box-shadow: 0px 0px 0px rgba(0, 0, 62, 0), 0px 0px 0px rgba(0, 0, 88, 0);
226 | border: 1.9px solid #3e63ea;
227 | height: 17px;
228 | width: 17px;
229 | border-radius: 31px;
230 | background: #ffffff;
231 | cursor: pointer;
232 | }
233 |
234 | input[type='range'].slider::-ms-track {
235 | width: 100%;
236 | height: 4.3px;
237 | cursor: pointer;
238 | background: transparent;
239 | border-color: transparent;
240 | color: transparent;
241 | }
242 |
243 | input[type='range'].slider::-ms-fill-lower {
244 | background: #2752e7;
245 | border: 0px solid rgba(1, 1, 1, 0);
246 | border-radius: 27.4px;
247 | box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
248 | }
249 |
250 | input[type='range'].slider::-ms-fill-upper {
251 | background: #3e64ea;
252 | border: 0px solid rgba(1, 1, 1, 0);
253 | border-radius: 27.4px;
254 | box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
255 | }
256 |
257 | input[type='range'].slider::-ms-thumb {
258 | box-shadow: 0px 0px 0px rgba(0, 0, 62, 0), 0px 0px 0px rgba(0, 0, 88, 0);
259 | border: 1.9px solid #3e63ea;
260 | height: 17px;
261 | width: 17px;
262 | border-radius: 31px;
263 | background: #ffffff;
264 | cursor: pointer;
265 | height: 4.3px;
266 | }
267 |
268 | input[type='range'].slider:focus::-ms-fill-lower {
269 | background: #3e64ea;
270 | }
271 |
272 | input[type='range'].slider:focus::-ms-fill-upper {
273 | background: #5576ed;
274 | }
275 |
276 | /* ---- media queries ---- */
277 |
278 | /* check out how little code this is I love you gridddddddddddd ❤️ */
279 |
280 | @media (max-width: 600px) {
281 | aside {
282 | width: 100% !important;
283 | margin-bottom: 10px !important;
284 | }
285 |
286 | .content {
287 | width: 100% !important;
288 | grid-template-columns: 1fr !important;
289 | }
290 |
291 | nav li {
292 | padding: 0 10px !important;
293 | }
294 |
295 | nav .capsule {
296 | justify-content: space-around !important;
297 | }
298 |
299 | .cartitems {
300 | padding: 30px 0 !important;
301 | width: 350px !important;
302 | }
303 |
304 | .payment {
305 | width: 350px !important;
306 | }
307 | }
308 |
309 | @media (min-width: 601px) and (max-width: 900px) {
310 | .content {
311 | grid-template-columns: repeat(2, 1fr) !important;
312 | }
313 | }
314 |
--------------------------------------------------------------------------------
/components/AppCheckout.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
Please enter your payment details:
7 |
8 |
9 |
10 |
Test using this credit card: 4242 4242 4242 4242, and enter any 5 digits for the zip code
11 |
18 |
19 |
20 |
21 |
22 |
23 |
Oh No!
24 |
Something went wrong!
25 |
26 |
27 |
28 |
29 |
Please hold, we're filling up your cart with goodies
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
117 |
118 |
--------------------------------------------------------------------------------
/components/AppFooter.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/components/AppItem.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
{{ item.name }}
4 |
Sale
5 |
![]()
6 |
{{ item.price | usdollar }}
7 |
8 |
9 |
10 |
11 |
35 |
36 |
--------------------------------------------------------------------------------
/components/AppMasthead.vue:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
39 |
40 |
--------------------------------------------------------------------------------
/components/AppNavigation.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
34 |
35 |
36 |
37 |
46 |
47 |
103 |
--------------------------------------------------------------------------------
/components/AppSidebar.vue:
--------------------------------------------------------------------------------
1 |
2 |
28 |
29 |
30 |
55 |
56 |
--------------------------------------------------------------------------------
/components/AppSuccess.vue:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
34 |
35 |
--------------------------------------------------------------------------------
/components/AppSwitch.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Only Show Sale Items
4 |
10 |
11 |
12 |
13 |
32 |
33 |
--------------------------------------------------------------------------------
/deploy.cmd:
--------------------------------------------------------------------------------
1 | @if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
2 |
3 | :: ----------------------
4 | :: KUDU Deployment Script
5 | :: Version: 1.0.8
6 | :: ----------------------
7 |
8 | :: Prerequisites
9 | :: -------------
10 |
11 | :: Verify node.js installed
12 | where node 2>nul >nul
13 | IF %ERRORLEVEL% NEQ 0 (
14 | echo Missing node.js executable, please install node.js, if already installed make sure it can be reached from current environment.
15 | goto error
16 | )
17 |
18 | :: Setup
19 | :: -----
20 |
21 | setlocal enabledelayedexpansion
22 |
23 | SET ARTIFACTS=%~dp0%..\artifacts
24 |
25 | IF NOT DEFINED DEPLOYMENT_SOURCE (
26 | SET DEPLOYMENT_SOURCE=%~dp0%.
27 | )
28 |
29 | IF NOT DEFINED DEPLOYMENT_TARGET (
30 | SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot
31 | )
32 |
33 | IF NOT DEFINED NEXT_MANIFEST_PATH (
34 | SET NEXT_MANIFEST_PATH=%ARTIFACTS%\manifest
35 |
36 | IF NOT DEFINED PREVIOUS_MANIFEST_PATH (
37 | SET PREVIOUS_MANIFEST_PATH=%ARTIFACTS%\manifest
38 | )
39 | )
40 |
41 | IF NOT DEFINED KUDU_SYNC_CMD (
42 | :: Install kudu sync
43 | echo Installing Kudu Sync
44 | call npm install kudusync -g --silent
45 | IF !ERRORLEVEL! NEQ 0 goto error
46 |
47 | :: Locally just running "kuduSync" would also work
48 | SET KUDU_SYNC_CMD=%appdata%\npm\kuduSync.cmd
49 | )
50 | goto Deployment
51 |
52 | :: Utility Functions
53 | :: -----------------
54 |
55 | :SelectNodeVersion
56 |
57 | IF DEFINED KUDU_SELECT_NODE_VERSION_CMD (
58 | :: The following are done only on Windows Azure Websites environment
59 | call %KUDU_SELECT_NODE_VERSION_CMD% "%DEPLOYMENT_SOURCE%" "%DEPLOYMENT_TARGET%" "%DEPLOYMENT_TEMP%"
60 | IF !ERRORLEVEL! NEQ 0 goto error
61 |
62 | IF EXIST "%DEPLOYMENT_TEMP%\__nodeVersion.tmp" (
63 | SET /p NODE_EXE=<"%DEPLOYMENT_TEMP%\__nodeVersion.tmp"
64 | IF !ERRORLEVEL! NEQ 0 goto error
65 | )
66 |
67 | IF EXIST "%DEPLOYMENT_TEMP%\__npmVersion.tmp" (
68 | SET /p NPM_JS_PATH=<"%DEPLOYMENT_TEMP%\__npmVersion.tmp"
69 | IF !ERRORLEVEL! NEQ 0 goto error
70 | )
71 |
72 | IF NOT DEFINED NODE_EXE (
73 | SET NODE_EXE=node
74 | )
75 |
76 | SET NPM_CMD="!NODE_EXE!" "!NPM_JS_PATH!"
77 | ) ELSE (
78 | SET NPM_CMD=npm
79 | SET NODE_EXE=node
80 | )
81 |
82 | goto :EOF
83 |
84 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
85 | :: Deployment
86 | :: ----------
87 |
88 | :Deployment
89 | echo Handling node.js deployment.
90 |
91 | :: 1. KuduSync
92 | IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
93 | call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd"
94 | IF !ERRORLEVEL! NEQ 0 goto error
95 | )
96 |
97 | :: 2. Select node version
98 | call :SelectNodeVersion
99 |
100 | :: 3. Install npm packages
101 | IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
102 | pushd "%DEPLOYMENT_TARGET%"
103 | call :ExecuteCmd !NPM_CMD! install
104 | IF !ERRORLEVEL! NEQ 0 goto error
105 | call :ExecuteCmd !NPM_CMD! run generate
106 | IF !ERRORLEVEL! NEQ 0 goto error
107 | popd
108 | )
109 |
110 | ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
111 | goto end
112 |
113 | :: Execute command routine that will echo out when error
114 | :ExecuteCmd
115 | setlocal
116 | set _CMD_=%*
117 | call %_CMD_%
118 | if "%ERRORLEVEL%" NEQ "0" echo Failed exitCode=%ERRORLEVEL%, command=%_CMD_%
119 | exit /b %ERRORLEVEL%
120 |
121 | :error
122 | endlocal
123 | echo An error has occurred during web site deployment.
124 | call :exitSetErrorLevel
125 | call :exitFromFunction 2>nul
126 |
127 | :exitSetErrorLevel
128 | exit /b 1
129 |
130 | :exitFromFunction
131 | ()
132 |
133 | :end
134 | endlocal
135 | echo Finished successfully.
--------------------------------------------------------------------------------
/dist/.nojekyll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/.nojekyll
--------------------------------------------------------------------------------
/dist/200.html:
--------------------------------------------------------------------------------
1 |
shop
--------------------------------------------------------------------------------
/dist/README.md:
--------------------------------------------------------------------------------
1 | # ASSETS
2 |
3 | This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
4 |
5 | More information about the usage of this directory in the documentation:
6 | https://nuxtjs.org/guide/assets#webpacked
7 |
8 | **This directory is not required, you can delete it if you don't want to use it.**
9 |
--------------------------------------------------------------------------------
/dist/_nuxt/LICENSES:
--------------------------------------------------------------------------------
1 | /*!
2 | * Determine if an object is a Buffer
3 | *
4 | * @author Feross Aboukhadijeh
5 | * @license MIT
6 | */
7 |
8 | /*!
9 | * Vue.js v2.4.4
10 | * (c) 2014-2017 Evan You
11 | * Released under the MIT License.
12 | */
13 |
14 | /**
15 | * vuex v3.0.1
16 | * (c) 2017 Evan You
17 | * @license MIT
18 | */
19 |
20 | /*!
21 | * @overview es6-promise - a tiny implementation of Promises/A+.
22 | * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
23 | * @license Licensed under MIT license
24 | * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
25 | * @version 4.1.1
26 | */
27 |
28 | /**
29 | * vue-meta v1.3.1
30 | * (c) 2017 Declan de Wet & Atinux
31 | * @license MIT
32 | */
33 |
34 | /*
35 | object-assign
36 | (c) Sindre Sorhus
37 | @license MIT
38 | */
39 |
--------------------------------------------------------------------------------
/dist/_nuxt/layouts/default.b96ce676a48e8edd70cd.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([5],{"+3DU":function(t,a,e){var i=e("AqAS");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("0c00de90",i,!0)},"9PUS":function(t,a,e){"use strict";function i(t){e("PdKq")}var n=e("BamU"),s=e("oLkn"),c=e("VU/8"),r=i,l=c(n.a,s.a,!1,r,"data-v-e0226d1a",null);a.a=l.exports},AqAS:function(t,a,e){a=t.exports=e("FZ+f")(!1),a.push([t.i,"footer[data-v-27c39d27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;background:#000;color:#fff;text-align:center;letter-spacing:.03em;margin-top:10px;width:100%;height:50px}a[data-v-27c39d27],a[data-v-27c39d27]:active,a[data-v-27c39d27]:visited{color:#fff;font-weight:700;text-decoration:none;padding-left:6px}",""])},BamU:function(t,a,e){"use strict";a.a={computed:{cartTotal:function(){return this.$store.state.cartTotal}}}},F1Tc:function(t,a,e){"use strict";a.a={}},HH1y:function(t,a,e){var i=e("aNIY");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("00c9e9ea",i,!0)},Ma2J:function(t,a,e){"use strict";function i(t){e("HH1y")}Object.defineProperty(a,"__esModule",{value:!0});var n=e("PuLx"),s=e("uRGU"),c=e("VU/8"),r=i,l=c(n.a,s.a,!1,r,null,null);a.default=l.exports},PdKq:function(t,a,e){var i=e("rY9G");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);e("rjj0")("3d61aa03",i,!0)},PuLx:function(t,a,e){"use strict";var i=e("9PUS"),n=e("smZX");a.a={components:{AppNavigation:i.a,AppFooter:n.a}}},aNIY:function(t,a,e){a=t.exports=e("FZ+f")(!1),a.push([t.i,"body,html{height:100%;margin:0}.clear{clear:both}.wrapper{min-height:100vh;margin-bottom:-60px}.footer,.push{height:50px;margin-top:10px}",""])},gqEB:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("footer",[t._v("\n Made with 🎸 from "),e("a",{attrs:{href:"https://twitter.com/sarah_edo",target:"_blank"}},[t._v("sarah_edo")])])}],s={render:i,staticRenderFns:n};a.a=s},oLkn:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("nav",[e("div",{staticClass:"capsule"},[e("nuxt-link",{attrs:{exact:"",to:"/"}},[e("svg",{staticClass:"logo",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100","aria-labelledby":"shopicon",role:"presentation",width:"60",height:"60"}},[e("title",{attrs:{id:"shopicon"}},[t._v("\n Magi Shop\n ")]),e("g",{attrs:{fill:"black"}},[e("path",{attrs:{d:"M82.89 42.69c0-.07 0-.15.05-.22a3.87 3.87 0 0 0 0-.39v-3.91a1 1 0 0 0-.07-.34v-.08a1 1 0 0 0 0-.09l-7.33-11.9a1 1 0 0 0-.86-.48h-3.56v-2.35a1 1 0 0 0-1-1h-4.49v-1.14a1 1 0 0 0-1-1H35.37a1 1 0 0 0-1 1v1.14h-4.49a1 1 0 0 0-1 1v2.35h-2.66a1 1 0 0 0-.82.43l-3.95 5.72-4.27 6.17a1 1 0 0 0-.07.13v.08a1 1 0 0 0-.07.34v3.93a3.86 3.86 0 0 0 0 .39c0 .08 0 .15.05.23a3.74 3.74 0 0 0 .13.44l.06.14a3.68 3.68 0 0 0 .26.51 3.67 3.67 0 0 0 .89 1l.11.07a3.66 3.66 0 0 0 .38.24l.3.14.13.06c0 .34-.07.69-.1 1s-.05.47-.07.71c-.06.76-.09 1.53-.09 2.29a30.61 30.61 0 0 0 5.4 17.4 29.79 29.79 0 0 0 5.39 6 30.8 30.8 0 0 0 40.23 0q.76-.65 1.48-1.35a30 30 0 0 0 3.89-4.66 30.61 30.61 0 0 0 5.36-17.36c0-.76 0-1.53-.09-2.29 0-.24 0-.48-.07-.71s-.06-.69-.1-1l.25-.11h.09a3.66 3.66 0 0 0 1.76-1.89v-.12a3.72 3.72 0 0 0 .21-.52zm-9.2 23.13c-.17.24-.35.48-.52.72s-.29.41-.45.6-.45.55-.68.83-.3.36-.45.54-.55.6-.84.89l-.37.39-.17.15V53.71a1 1 0 0 0-1-1H56.4a1 1 0 0 0-1 1V71H30.91q-.66-.58-1.28-1.2l-.4-.42c-.28-.28-.55-.57-.82-.87s-.3-.36-.45-.53-.47-.55-.69-.83-.3-.4-.44-.6-.35-.48-.52-.72V45.56h47.37zM68.2 71H57.4V54.71h10.8zm11.2-27.45h-5.54v-4.38H81v2.66a1.71 1.71 0 0 1-1.6 1.72zm-58.8 0a1.71 1.71 0 0 1-1.6-1.72v-2.66h7.13v4.39h-5.52zm43-20.61v7.82H36.38v-9h27.24v1.16zM28.9 36.9l4.86-9.62h.61v4.48a1 1 0 0 0 1 1H37l-1.4 4.4h-6.83zm16.23-4.13l-.58 4.4h-6.9l1.4-4.4zm2 0h6.13l.24 4.4h-6.93zm8.37 4.4l-.24-4.4h6.11l1.06 4.4zm-11.09 2v4.39h-7.13v-4.39zm2 0h7.14v4.39h-7.12zm9.14 0h7.14v4.39h-7.12zm8.93-2l-1.06-4.4h1.18a1 1 0 0 0 1-1v-4.49h1.48l1 2.4 3.21 7.49zm-36.36 2h7.14v4.39h-7.12zm36.58 4.39v-4.39h7.15v4.39zm8.8-6.39l-.12-.28-4.11-9.61h4.84l6.08 9.89zm-4.39-11.89h-3.48v-1.35h3.48zm-34.74 0h-3.48v-1.35h3.48zm-7.63 2h4.77l-3.92 7.77-1.07 2.12h-6.61l3.29-4.77zM21.22 47.2c0-.23 0-.45.07-.67s.08-.65.12-1h2.92v16.95a28.63 28.63 0 0 1-3.19-13.14c-.01-.71.02-1.43.08-2.14zm33.29 30.66a29.17 29.17 0 0 1-9 0 28.57 28.57 0 0 1-12-4.87h33.1a28.57 28.57 0 0 1-12.1 4.87zm21.17-15.38V45.56h2.92c0 .32.09.64.12 1s.05.45.07.67c.05.71.09 1.43.09 2.14a28.63 28.63 0 0 1-3.2 13.11z"}}),e("path",{attrs:{d:"M52.74 50H30.8a1 1 0 0 0-1 1v14.59a1 1 0 0 0 1 1h21.94a1 1 0 0 0 1-1V51a1 1 0 0 0-1-1zm-1 14.63H31.8V52h19.94zM60.08 62.94h5.44a1 1 0 0 0 1-1v-2.75a1 1 0 0 0-1-1h-5.44a1 1 0 0 0-1 1v2.74a1 1 0 0 0 1 1.01zm1-2.74h3.44v.74h-3.44z"}})])])]),e("ul",[e("nuxt-link",{attrs:{to:"/women"}},[e("li",[t._v("Women's")])]),e("nuxt-link",{attrs:{to:"/men"}},[e("li",[t._v("Men's")])]),e("nuxt-link",{attrs:{to:"/sale"}},[e("li",[t._v("Sale")])])],1),e("nuxt-link",{attrs:{to:"/cart"}},[e("div",{staticClass:"cartitem"},[t.cartTotal>0?e("div",{staticClass:"cartcount"},[t._v(t._s(t.cartTotal))]):t._e(),e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100","aria-labelledby":"shopicon",role:"presentation",width:"30",height:"30"}},[e("title",{attrs:{id:"cart"}},[t._v("\n Shopping Cart\n ")]),e("path",{attrs:{fill:"black",d:"M8.01 10c-1.104 0-2 .896-2 2 0 1.105.896 2 2 2h10.376l10.53 49.813c-.107 1.14.952 2.245 2.095 2.187h50c1.057.015 2.03-.943 2.03-2s-.973-2.015-2.03-2H32.637l-1.688-8H85.01c.896-.01 1.742-.69 1.938-1.562l7-30c.26-1.16-.748-2.43-1.937-2.438H23.76l-1.78-8.437c-.2-.884-1.063-1.57-1.97-1.563zm16.594 14H89.51l-6.093 26H30.104zM42.01 72c-4.946 0-9 4.053-9 9s4.054 9 9 9c4.948 0 9-4.053 9-9s-4.052-9-9-9zm28 0c-4.946 0-9 4.053-9 9s4.054 9 9 9c4.948 0 9-4.053 9-9s-4.052-9-9-9zm-28 4c2.786 0 5 2.215 5 5s-2.214 5-5 5c-2.784 0-5-2.215-5-5s2.216-5 5-5zm28 0c2.786 0 5 2.215 5 5s-2.214 5-5 5c-2.784 0-5-2.215-5-5s2.216-5 5-5z"}})])])])],1)])])},n=[],s={render:i,staticRenderFns:n};a.a=s},rY9G:function(t,a,e){a=t.exports=e("FZ+f")(!1),a.push([t.i,".capsule[data-v-e0226d1a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}nav[data-v-e0226d1a]{width:100vw;height:60px;background:#fff}ul[data-v-e0226d1a]{padding-left:0;display:-webkit-box;display:-ms-flexbox;display:flex;list-style:none outside none;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}li[data-v-e0226d1a]{padding:0 50px}a[data-v-e0226d1a],a[data-v-e0226d1a]:active,a[data-v-e0226d1a]:visited{text-decoration:none;color:#000}.cartitem[data-v-e0226d1a]{position:relative;float:right}.cartcount[data-v-e0226d1a]{font-family:Barlow,sans-serif;position:absolute;background:#f21;color:#fff;text-align:center;padding-top:4px;width:20px;height:20px;font-size:10px;margin:-5px 0 0 20px;border-radius:1000px;font-weight:700}",""])},smZX:function(t,a,e){"use strict";function i(t){e("+3DU")}var n=e("F1Tc"),s=e("gqEB"),c=e("VU/8"),r=i,l=c(n.a,s.a,!1,r,"data-v-27c39d27",null);a.a=l.exports},uRGU:function(t,a,e){"use strict";var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("div",{staticClass:"wrapper"},[e("app-navigation"),e("nuxt"),e("div",{staticClass:"clear"}),e("div",{staticClass:"push"})],1),e("app-footer",{staticClass:"footer"})],1)},n=[],s={render:i,staticRenderFns:n};a.a=s}});
2 | //# sourceMappingURL=default.b96ce676a48e8edd70cd.js.map
--------------------------------------------------------------------------------
/dist/_nuxt/layouts/default.b96ce676a48e8edd70cd.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///layouts/default.b96ce676a48e8edd70cd.js","webpack:///./components/AppFooter.vue?8ae6","webpack:///./components/AppNavigation.vue","webpack:///./components/AppFooter.vue?e2ec","webpack:///components/AppNavigation.vue","webpack:///components/AppFooter.vue","webpack:///./layouts/default.vue?64f9","webpack:///./layouts/default.vue","webpack:///./components/AppNavigation.vue?0e3e","webpack:///layouts/default.vue","webpack:///./layouts/default.vue?69e4","webpack:///./components/AppFooter.vue?fd45","webpack:///./components/AppNavigation.vue?36d8","webpack:///./components/AppNavigation.vue?c8a5","webpack:///./components/AppFooter.vue","webpack:///./layouts/default.vue?5ca6"],"names":["webpackJsonp","+3DU","module","exports","__webpack_require__","content","i","locals","9PUS","__webpack_exports__","injectStyle","ssrContext","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_AppNavigation_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_e0226d1a_hasScoped_true_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AppNavigation_vue__","normalizeComponent","__vue_styles__","Component","AqAS","push","BamU","computed","cartTotal","this","$store","state","F1Tc","HH1y","Ma2J","Object","defineProperty","value","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_default_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_0ef78e3a_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_default_vue__","PdKq","PuLx","__WEBPACK_IMPORTED_MODULE_0__components_AppNavigation_vue__","__WEBPACK_IMPORTED_MODULE_1__components_AppFooter_vue__","components","AppNavigation","AppFooter","aNIY","gqEB","render","_vm","_h","$createElement","_self","_c","_m","staticRenderFns","_v","attrs","href","target","esExports","oLkn","staticClass","exact","to","xmlns","viewBox","aria-labelledby","role","width","height","id","fill","d","_s","_e","rY9G","smZX","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_AppFooter_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_27c39d27_hasScoped_true_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AppFooter_vue__","uRGU"],"mappings":"AAAAA,cAAc,IAERC,OACA,SAAUC,EAAQC,EAASC,GCAjC,GAAAC,GAAAD,EAAA,OACA,iBAAAC,SAAAH,EAAAI,EAAAD,EAAA,MACAA,EAAAE,SAAAL,EAAAC,QAAAE,EAAAE,OAEAH,GAAA,mBAAAC,GAAA,IDSMG,OACA,SAAUN,EAAQO,EAAqBL,GAE7C,YEnBA,SAAAM,GAAAC,GACAP,EAAA,QFmBqB,GAAIQ,GAAwQR,EAAoB,QEpBrTS,EAAAT,EAAA,QAGAU,EAAAV,EAAA,QAQAW,EAAAL,EAKAM,EAAAF,EACAF,EAAA,EACAC,EAAA,GATA,EAWAE,EAPA,kBAEA,KAUAN,GAAA,EAAAO,EAAA,SF2BMC,KACA,SAAUf,EAAQC,EAASC,GGrDjCD,EAAAD,EAAAC,QAAAC,EAAA,YAKAD,EAAAe,MAAAhB,EAAAI,EAAA,qdAA4e,MH8Dtea,KACA,SAAUjB,EAAQO,EAAqBL,GAE7C,YIjCAK,GAAA,GJwEEW,UACEC,UAAW,WACT,MAAOC,MAAKC,OAAOC,MItEzBH,cJ6EMI,KACA,SAAUvB,EAAQO,EAAqBL,GAE7C,YKlHAK,GAAA,ML8HMiB,KACA,SAAUxB,EAAQC,EAASC,GMnIjC,GAAAC,GAAAD,EAAA,OACA,iBAAAC,SAAAH,EAAAI,EAAAD,EAAA,MACAA,EAAAE,SAAAL,EAAAC,QAAAE,EAAAE,OAEAH,GAAA,mBAAAC,GAAA,IN4IMsB,KACA,SAAUzB,EAAQO,EAAqBL,GAE7C,YOtJA,SAAAM,GAAAC,GACAP,EAAA,QPsJAwB,OAAOC,eAAepB,EAAqB,cAAgBqB,OAAO,GAC7C,IAAIC,GAAkQ3B,EAAoB,QOxJ/S4B,EAAA5B,EAAA,QAGAU,EAAAV,EAA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AAArE,EAAA,QAGAU,EAAAV,EAAA,QAQAW,EAAAL,EAKAM,EAAAF,EACA0D,EAAA,EACAC,EAAA,GATA,EAWA1D,EAPA,kBAEA,KAUAN,GAAA,EAAAO,EAAA,SdoSM0D,KACA,SAAUxE,EAAQO,EAAqBL,GAE7C,YehUA,IAAAsC,GAAA,WAA0B,GAAAC,GAAArB,KAAasB,EAAAD,EAAAE,eAA0BE,EAAAJ,EAAAG,MAAAC,IAAAH,CAAwB,OAAAG,GAAA,OAAAA,EAAA,OAA2BS,YAAA,YAAsBT,EAAA,kBAAAA,EAAA,QAAAA,EAAA,OAA4CS,YAAA,UAAoBT,EAAA,OAAYS,YAAA,UAAmB,GAAAT,EAAA,cAAuBS,YAAA,YAAqB,IACrRP,KACAK,GAAiBZ,SAAAO,kBACjBxC,GAAA","file":"layouts/default.b96ce676a48e8edd70cd.js","sourceRoot":""}
--------------------------------------------------------------------------------
/dist/_nuxt/manifest.4ccfb9b79cced0a86787.js:
--------------------------------------------------------------------------------
1 | !function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var u,f,i,s=0,d=[];s-1:t.trigger},on:{change:t.updateSale,__c:function(e){var a=t.trigger,r=e.target,n=!!r.checked;if(Array.isArray(a)){var c=t._i(a,null);r.checked?c<0&&(t.trigger=a.concat([null])):c>-1&&(t.trigger=a.slice(0,c).concat(a.slice(c+1)))}else t.trigger=n}}}),t._m(0)])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("label",{attrs:{for:"e"}},[a("div",{staticClass:"can-toggle__switch",attrs:{"data-checked":"Yes","data-unchecked":"No"}})])}],c={render:r,staticRenderFns:n};e.a=c},"7Rud":function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,".item[data-v-d84f32c6]{border-radius:5px;padding:20px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.salepill[data-v-d84f32c6]{background:#e82319;color:#fff;font-family:Barlow,sans-serif;position:absolute;right:30px;top:60px;padding:2px 10px 4px;text-transform:uppercase;font-size:13px;font-weight:700;border-radius:1000px}p[data-v-d84f32c6]{font-size:18px}",""])},"8SN4":function(t,e,a){var r=a("7Rud");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("ae0141da",r,!0)},CZKb:function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,"aside[data-v-301de34e]{background:#fff;float:left;padding:20px}.sidearea[data-v-301de34e]{border-bottom:1px solid #ccc}.sidearea[data-v-301de34e]:last-of-type{border:none}.callout[data-v-301de34e]{padding:20px 0}.callout h4[data-v-301de34e]{padding-bottom:10px}.sidearea[data-v-301de34e]:first-of-type{padding-bottom:40px}label[data-v-301de34e]{font-family:Playfair Display,serif;padding:15px 0;text-align:center}span[data-v-301de34e]{font-family:Barlow,sans-serif}.max[data-v-301de34e]{font-size:12px;float:right;color:#565656}.min[data-v-301de34e]{float:left;font-size:12px;color:#565656}",""])},ChaS:function(t,e,a){var r=a("CZKb");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("ecdac8b4",r,!0)},FjEy:function(t,e,a){var r=a("OiIw");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("12b9ca2d",r,!0)},GIRM:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"masthead",style:"background:"+t.bkcolor},[a("img",{staticClass:"ppl-banner",attrs:{src:"/"+t.img+".png",alt:"Banner Image"}}),a("svg",{staticClass:"bk",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1367.57 190.59",preserveAspectRato:"none",role:"presentation"}},[a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M1-5.7c26.29,0,52.59.07,78.88,0a13.65,13.65,0,0,1,8,2.25,85.25,85.25,0,0,1,19.56,17.1c9.32,11.46,6.88,35.64-9.63,43.28-13.87,6.43-28.32,9.78-43.33,11.41C36.52,70.29,18.7,69.25,1,66.53Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M1368.52,80.78c-5.4-1.17-11-1-16.31-2.88s-6.07-3.28-4.68-8.82.34-7.87-5.16-9.87c-5.33-1.94-10.86-3.37-16.18-5.35-10.6-3.93-19-10.53-24.43-20.67-1.2-2.25-2.6-4.55-2.19-7.14.7-4.39-1.64-6.79-5-8.8-8.53-5.16-17.66-9.17-26.49-13.76-4.75-2.47-9.62-4.75-13.94-8.13,1.08-1.48,2.43-.78,3.53-.78,25.81,0,51.62,0,77.43-.1,3,0,4.94.61,6.51,3.36a28.59,28.59,0,0,0,13.63,12.05c4.46,2,8.83,4.17,13.24,6.27Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M1246.48,127.21c4.46,3.79,8.85,7.68,13.41,11.34,5.62,4.53,11.83,5.91,18.58,2.58s12.78-1.78,18.46,2.79a88.76,88.76,0,0,1,19.86,22.17,29.91,29.91,0,0,1,3.68,8.19c1.58,5.92-.81,9.53-6.92,10.36-4.15.55-8.24-.15-12.25-1a88.26,88.26,0,0,0-33.5-.66c-14.87,2.68-28.51-.7-41.84-6.94-22.58-10.59-42.23-25.43-60.85-41.76C1143.63,115.46,1123.77,95.09,1108,71c-5.83-8.9-10.86-18.21-12.76-28.87a23.44,23.44,0,0,1,.22-10.34c3.15-11.87,12.11-16.31,23.25-11.25a60,60,0,0,1,20.71,15.64c11.66,13.57,26,24,39.62,35.32,4.86,4,9.85,7.94,14.78,11.91-4.63,2.68-8.39,5.94-9.77,11.53-5.1,20.5,11.63,42.56,32.77,43.12C1228.21,138.4,1237.65,133.68,1246.48,127.21Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#53be32"},attrs:{d:"M1060-5.65c28.66,0,56,0,83.38,0a3.46,3.46,0,0,1,3.52,2.47c5.25,11.77,14.4,19.2,26,24.43a120.59,120.59,0,0,1,29.81,19.24c11.73,10.27,18.86,22.91,19.29,38.75.15,5.53,3.51,8.22,7.76,10.32,8.66,4.27,14.35,11.26,18.39,19.76a29.06,29.06,0,0,1,2.26,6.72c1.22,6.35-1.89,10.12-8.35,10.34a36.73,36.73,0,0,1-13-2.4c-23.47-8-43.56-21-59.29-40.26-9.44-11.53-20.14-20.56-34.83-25a43,43,0,0,1-27.18-22.93c-1.47-3-2.7-6-2-9.54s-1.62-5.25-4-6.93c-8.27-5.88-17.35-10.4-26.16-15.38C1070.65,1.15,1065.45-1.19,1060-5.65Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M261.84,174.13c-13.37-5.54-29.23-1.89-45-1.77-8.29.07-15.39-3.84-21.47-9a359.35,359.35,0,0,1-65-72,30.88,30.88,0,0,1-4.18-8.48c-1.34-4.51.44-6.5,5-5.21a37.81,37.81,0,0,1,15,7.73c15.51,13.52,31.19,26.85,48.54,38,2.25,1.45,4.64,2.72,7,4,3.62,1.91,6.86,2,10.47-.76,5.37-4.14,11.56-3.71,17.62-1.35,7.2,2.8,13.12,7.56,18.73,12.73,6.88,6.35,13.28,13.14,18.28,21.12a35.38,35.38,0,0,1,3.18,6.33C272.33,171.44,270.27,174.3,261.84,174.13Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M748.31,123.68c14.77.31,27.3,2.41,39.17,7.74a45.65,45.65,0,0,1,11.27,6.91c8.94,7.68,9.74,17.32,1.91,26.14-7.33,8.24-17,12.47-27.5,14.81-15.19,3.4-29.28.91-41.35-9.41-8-6.81-12.22-15.59-12.09-26.22.1-8.51,3.88-13.93,11.82-17.05a31.45,31.45,0,0,1,5.9-1.75C741.63,124.09,745.87,123.49,748.31,123.68Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#6fb859"},attrs:{d:"M423,26.26c-2.71-3.56-6.63-5.17-10.64-6.65-9.88-3.65-19.22-8.08-24.78-17.76-1.33-2.31-2.82-4.58-2.75-7.42l58.89-.13a6.07,6.07,0,0,1,3.61.88c13.46,9,24.61,19.63,25.22,37.29.16,4.67,2.39,7.51,6.43,9.6,7.75,4,12.28,10.82,14.71,19,1.82,6.11-1.1,9.53-7.48,9.23-4-.18-7.74-1.53-11.42-3a100.94,100.94,0,0,1-43.05-31.72C429.11,32.25,426.45,28.89,423,26.26Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M575.82,38.08A39.5,39.5,0,0,1,595,42.69c18.58,9.78,33.85,23.2,44.54,41.48a38.31,38.31,0,0,1,4.31,10.49c1.5,6.29-.31,8.07-6.47,6.39-5.7-1.56-10.88-4.32-16-7.21a313.2,313.2,0,0,1-43.66-30.19c-4.54-3.71-8.8-7.77-11.91-12.82-4.52-7.34-2-12.08,6.65-12.74C573.6,38,574.72,38.08,575.82,38.08Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M618.36-5.69c26.94,0,52.87,0,78.8-.06,2.58,0,3.52,1,4.19,3.27,5.35,18.42-9.74,34.88-29.05,31.59-14.37-2.44-26-10.26-37.15-19A125.55,125.55,0,0,1,618.36-5.69Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M576.6,166.37c-9.69-14.55-21.23-27.62-33.7-39.77a81,81,0,0,0-30.38-18.95c-4-1.35-8.54-3.09-12.08.51-3.27,3.32-1.25,7.44-.26,11.23.08.3.25.58.32.89,1.21,4.74-.39,6.37-5.13,4.9a53.63,53.63,0,0,1-13.45-6.94,460.36,460.36,0,0,1-67.6-55.12,53.43,53.43,0,0,1-8.24-10.4c-4.39-7.25-3.32-11.48,4-15.61a37.66,37.66,0,0,1,6.43-3c3.85-1.31,6.09-3.78,6.55-7.83-2.71-3.56-6.63-5.17-10.64-6.65-9.88-3.65-19.22-8.08-24.78-17.76-1.33-2.31-2.82-4.58-2.75-7.42H280.77c5.05,5.3,9.78,10.18,14.4,15.16,4.36,4.69,8.4,9.71,8.84,16.39.52,7.74,3.56,14.35,8.05,20.44,8.77,11.92,19.2,22.3,30,32.36,12.38,11.57,25.71,22.08,37.63,34.16a31.74,31.74,0,0,1,6.28,8.28c1.86,3.79.58,6.39-3.06,8.08-2.84,1.32-5.89,1.11-8.88,1.08-14.15-.18-27.9-3.53-41.83-5.43-6.59-.89-13.18-1.79-19.86-1.41-8.54.49-10.77,4.56-6.35,11.76,1.41,2.29,3,4.46,4.62,6.61,7.65,10.26,17.7,18,27.29,26.29,6.6-.1,13.2,0,19.58,1.89,4.69,1.41,8.25,3.33,10.81,5.91H581.73A44.12,44.12,0,0,0,576.6,166.37Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#75d8d0"},attrs:{d:"M895.1,155.77c-4.75-4.23-9.12-8.83-12.22-14.39-2.7-4.84-1.2-7.9,4.17-8.9a50.18,50.18,0,0,1,6.62-.35c9.64-.45,17.79-8.48,17.81-17.56,0-5.54-1.87-8.91-7.86-13.23-9.22-6.67-18.66-13.06-27.8-19.85-24.6-18.28-51.37-33.58-74.17-54.36-6.29-5.75-13.64-10.31-22.19-12.34-10.94-2.6-18.56,5.28-15.64,16.07,1.78,6.56,5.35,12.14,9.28,17.5,11.75,16,26.42,29.4,40.38,43.4,9.9,9.94,8.64,15.22-4.91,19.35-6.94,2.11-14,3.72-21,5.79-3.14.94-6.8,2-7.17,6-.35,3.81,2.3,6.4,5.12,8.56a26.13,26.13,0,0,0,4.45,2.7c5.57,2.74,11.55,4.21,17.57,5.57,15.15,3.43,30,7.21,42.42,17.62,7.24,6.09,14.33,12.34,21.37,18.65H920C911.49,169.55,903.11,162.9,895.1,155.77Z",transform:"translate(-0.95 5.75)"}})]),a("h1",[t._v(t._s(t.title))])])},n=[],c={render:r,staticRenderFns:n};e.a=c},Hfyb:function(t,e,a){var r=a("unX5");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("4b521691",r,!0)},JufQ:function(t,e,a){"use strict";function r(t){a("ChaS")}var n=a("a+0u"),c=a("YdtB"),o=a("VU/8"),i=r,s=o(n.a,c.a,!1,i,"data-v-301de34e",null);e.a=s.exports},K5rK:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("p",[t._v(t._s(t.item.name))]),t.item.sale?a("span",{staticClass:"salepill"},[t._v("Sale")]):t._e(),a("img",{attrs:{src:"/"+t.item.img,alt:"Image of "+t.item.name}}),a("p",[t._v(t._s(t._f("usdollar")(t.item.price)))]),a("button",{staticClass:"add",on:{click:t.addItem}},[t._v("Add Item")])])},n=[],c={render:r,staticRenderFns:n};e.a=c},OiIw:function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,"h1[data-v-5a8d8125]{color:#fff;position:relative;z-index:100;font-size:60px;padding:8px 80px}.bk[data-v-5a8d8125]{position:absolute;top:0;left:0}.ppl-banner[data-v-5a8d8125]{position:absolute;z-index:10;right:100px}.masthead[data-v-5a8d8125]{width:100%;height:100px;color:#fff;position:relative;overflow:hidden;margin:10px 0}",""])},PPEY:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a("+Alq"),n=a("nh51"),c=a("VU/8"),o=c(r.a,n.a,!1,null,null,null);e.default=o.exports},Yaau:function(t,e,a){"use strict";e.a={data:function(){return{trigger:this.checked}},computed:{checked:function(){return this.$store.state.sale}},methods:{updateSale:function(){this.$store.commit("switchSale")}}}},YdtB:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("aside",[a("div",{staticClass:"sidearea"},[a("label",{attrs:{for:"pricerange"}},[t._v("Highest Price: "),a("span",[t._v("$"+t._s(t.pricerange))])]),a("input",{staticClass:"slider",attrs:{id:"pricerange",type:"range",min:t.min,max:t.max,step:"0.1"},domProps:{value:t.pricerange},on:{input:function(e){t.$emit("update:pricerange",e.target.value)}}}),a("span",{staticClass:"min"},[t._v("$"+t._s(t.min))]),a("span",{staticClass:"max"},[t._v("$"+t._s(t.max))])]),t.sale?t._e():a("app-switch"),t._m(0),t._m(1)],1)},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sidearea callout"},[a("h4",[t._v("Special Sale!")]),a("p",[t._v("Shop now because half our items are greatly reduced")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sidearea callout"},[a("h4",[t._v("Contact Us")]),a("p",[t._v("Questions? Call us at 1-888-555-SHOP, we're happy to be of service.")])])}],c={render:r,staticRenderFns:n};e.a=c},ZfIL:function(t,e,a){"use strict";e.a={props:{item:{type:Object,required:!0},index:{type:Number,required:!0}},filters:{usdollar:function(t){return"$"+t}},methods:{addItem:function(){this.$store.commit("addItem",this.item)}}}},"a+0u":function(t,e,a){"use strict";var r=a("sEUc");e.a={props:{sale:{type:Boolean,default:!1},pricerange:{type:[Number,String],default:300}},data:function(){return{min:0,max:400}},components:{AppSwitch:r.a}}},jlTb:function(t,e,a){"use strict";function r(t){a("FjEy")}var n=a("+fDo"),c=a("GIRM"),o=a("VU/8"),i=r,s=o(n.a,c.a,!1,i,"data-v-5a8d8125",null);e.a=s.exports},nh51:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("main",{staticClass:"capsule"},[a("app-masthead",{attrs:{img:"banner-ppl",title:"Men's",bkcolor:"#474598"}}),a("div",{staticClass:"contain"},[a("app-sidebar",{attrs:{pricerange:t.highprice},on:{"update:pricerange":function(e){t.highprice=e}}}),a("transition-group",{staticClass:"content",attrs:{name:"items",tag:"section"}},t._l(t.mProducts,function(t,e){return a("app-item",{key:"item",attrs:{item:t,index:e}})}))],1)],1)},n=[],c={render:r,staticRenderFns:n};e.a=c},"p/c1":function(t,e,a){"use strict";function r(t){a("8SN4")}var n=a("ZfIL"),c=a("K5rK"),o=a("VU/8"),i=r,s=o(n.a,c.a,!1,i,"data-v-d84f32c6",null);e.a=s.exports},sEUc:function(t,e,a){"use strict";function r(t){a("Hfyb")}var n=a("Yaau"),c=a("1RQb"),o=a("VU/8"),i=r,s=o(n.a,c.a,!1,i,"data-v-6426db68",null);e.a=s.exports},unX5:function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,"h4[data-v-6426db68]{margin:20px 0}.can-toggle[data-v-6426db68]{position:relative}.can-toggle [data-v-6426db68],.can-toggle [data-v-6426db68]:after,.can-toggle [data-v-6426db68]:before{-webkit-box-sizing:border-box;box-sizing:border-box}.can-toggle input[type=checkbox][data-v-6426db68]{opacity:0;position:absolute;top:0;left:0}.can-toggle input[type=checkbox][disabled]~label[data-v-6426db68]{pointer-events:none}.can-toggle input[type=checkbox][disabled]~label .can-toggle__switch[data-v-6426db68]{opacity:.4}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch[data-v-6426db68]:before{content:attr(data-unchecked);left:0}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch[data-v-6426db68]:after{content:attr(data-checked)}.can-toggle label[data-v-6426db68]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.can-toggle label .can-toggle__label-text[data-v-6426db68]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:32px}.can-toggle label .can-toggle__switch[data-v-6426db68]{position:relative}.can-toggle label .can-toggle__switch[data-v-6426db68]:before{content:attr(data-checked);position:absolute;top:0;text-transform:uppercase;text-align:center}.can-toggle label .can-toggle__switch[data-v-6426db68]:after{content:attr(data-unchecked);position:absolute;z-index:5;text-transform:uppercase;text-align:center;background:#fff;-webkit-transform:translateZ(0);transform:translateZ(0)}.can-toggle.demo-rebrand-2[data-v-6426db68]{cursor:pointer}.can-toggle.demo-rebrand-2 input[type=checkbox][disabled]~label[data-v-6426db68]{color:hsla(0,0%,53%,.5)}.can-toggle.demo-rebrand-2 input[type=checkbox]:focus~label .can-toggle__switch[data-v-6426db68],.can-toggle.demo-rebrand-2 input[type=checkbox]:hover~label .can-toggle__switch[data-v-6426db68]{background-color:#888}.can-toggle.demo-rebrand-2 input[type=checkbox]:focus~label .can-toggle__switch[data-v-6426db68]:after,.can-toggle.demo-rebrand-2 input[type=checkbox]:hover~label .can-toggle__switch[data-v-6426db68]:after{color:#6f6f6f}.can-toggle.demo-rebrand-2 input[type=checkbox]:hover~label[data-v-6426db68]{color:#7b7b7b}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked~label[data-v-6426db68]:hover{color:#3059e8}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked~label .can-toggle__switch[data-v-6426db68]{background-color:#5576ed}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked~label .can-toggle__switch[data-v-6426db68]:after{color:#2752e7}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked:focus~label .can-toggle__switch[data-v-6426db68],.can-toggle.demo-rebrand-2 input[type=checkbox]:checked:hover~label .can-toggle__switch[data-v-6426db68]{background-color:#3e64ea}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked:focus~label .can-toggle__switch[data-v-6426db68]:after,.can-toggle.demo-rebrand-2 input[type=checkbox]:checked:hover~label .can-toggle__switch[data-v-6426db68]:after{color:#1844dd}.can-toggle.demo-rebrand-2 label[data-v-6426db68]{font-family:Barlow,sans-serif;cursor:pointer}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]{-webkit-transition:background-color .3s ease;transition:background-color .3s ease;background:#959595}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]:before{color:hsla(0,0%,100%,.7)}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]:after{-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease;color:#888}.can-toggle.demo-rebrand-2 input[type=checkbox]:focus~label .can-toggle__switch[data-v-6426db68]:after,.can-toggle.demo-rebrand-2 input[type=checkbox]:hover~label .can-toggle__switch[data-v-6426db68]:after{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked~label .can-toggle__switch[data-v-6426db68]:after{-webkit-transform:translate3d(27px,0,0);transform:translate3d(27px,0,0)}.can-toggle.demo-rebrand-2 input[type=checkbox]:checked:focus~label .can-toggle__switch[data-v-6426db68]:after,.can-toggle.demo-rebrand-2 input[type=checkbox]:checked:hover~label .can-toggle__switch[data-v-6426db68]:after{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.can-toggle.demo-rebrand-2 label[data-v-6426db68]{font-size:0}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]{height:30px;-webkit-box-flex:0;-ms-flex:0 0 60px;flex:0 0 60px;border-radius:22px}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]:before{left:22px;font-size:9px;line-height:30px;width:30px;padding:0 12px}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]:after{top:3px;left:3px;border-radius:11px;width:27px;line-height:24px;font-size:9px}.can-toggle.demo-rebrand-2 label .can-toggle__switch[data-v-6426db68]:hover:after{-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.sidearea[data-v-6426db68]{padding-bottom:30px}",""])}});
2 | //# sourceMappingURL=men.b0d4fd0ef0d516183a92.js.map
--------------------------------------------------------------------------------
/dist/_nuxt/pages/men.b0d4fd0ef0d516183a92.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///pages/men.b0d4fd0ef0d516183a92.js","webpack:///pages/men.vue","webpack:///components/AppMasthead.vue","webpack:///./components/AppSwitch.vue?ca0c","webpack:///./components/AppItem.vue?4f8c","webpack:///./components/AppItem.vue?400d","webpack:///./components/AppSidebar.vue?2569","webpack:///./components/AppSidebar.vue?ba25","webpack:///./components/AppMasthead.vue?22ca","webpack:///./components/AppMasthead.vue?bba8","webpack:///./components/AppSwitch.vue?c69b","webpack:///./components/AppSidebar.vue","webpack:///./components/AppItem.vue?0e01","webpack:///./components/AppMasthead.vue?8506","webpack:///./pages/men.vue","webpack:///components/AppSwitch.vue","webpack:///./components/AppSidebar.vue?b0aa","webpack:///components/AppItem.vue","webpack:///components/AppSidebar.vue","webpack:///./components/AppMasthead.vue","webpack:///./pages/men.vue?8e76","webpack:///./components/AppItem.vue","webpack:///./components/AppSwitch.vue","webpack:///./components/AppSwitch.vue?cfe5"],"names":["webpackJsonp","+Alq","module","__webpack_exports__","__webpack_require__","__WEBPACK_IMPORTED_MODULE_0__components_AppSidebar_vue__","__WEBPACK_IMPORTED_MODULE_1__components_AppMasthead_vue__","__WEBPACK_IMPORTED_MODULE_2__components_AppItem_vue__","components","AppSidebar","AppMasthead","AppItem","data","highprice","computed","mProducts","_this","this","temp","$store","getters","men","forEach","el","state","sale","price","push","+fDo","props","bkcolor","type","String","default","title","img","1RQb","render","_vm","_h","$createElement","_c","_self","staticClass","_v","directives","name","rawName","value","expression","attrs","id","domProps","checked","Array","isArray","trigger","_i","on","change","updateSale","__c","$event","$$a","$$el","target","$$c","$$i","concat","slice","_m","staticRenderFns","for","data-checked","data-unchecked","esExports","7Rud","exports","i","8SN4","content","locals","CZKb","ChaS","FjEy","GIRM","style","src","alt","xmlns","viewBox","preserveAspectRato","role","staticStyle","fill","d","transform","_s","Hfyb","JufQ","injectStyle","ssrContext","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_AppSidebar_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_301de34e_hasScoped_true_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AppSidebar_vue__","normalizeComponent","__vue_styles__","Component","K5rK","item","_e","_f","click","addItem","OiIw","PPEY","Object","defineProperty","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_men_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_40514196_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_men_vue__","Yaau","methods","commit","YdtB","pricerange","min","max","step","input","$emit","ZfIL","required","index","Number","filters","usdollar","a+0u","__WEBPACK_IMPORTED_MODULE_0__AppSwitch_vue__","Boolean","AppSwitch","jlTb","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_AppMasthead_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_5a8d8125_hasScoped_true_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AppMasthead_vue__","nh51","update:pricerange","tag","_l","key","p/c1","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_AppItem_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_d84f32c6_hasScoped_true_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AppItem_vue__","sEUc","__WEBPACK_IMPORTED_MODULE_0__babel_loader_babelrc_false_cacheDirectory_false_presets_Users_sarahdrasner_git_repos_sample_vue_shop_node_modules_babel_preset_vue_app_dist_index_common_js_node_modules_vue_loader_lib_selector_type_script_index_0_AppSwitch_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_6426db68_hasScoped_true_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_AppSwitch_vue__","unX5"],"mappings":"AAAAA,cAAc,IAERC,OACA,SAAUC,EAAQC,EAAqBC,GAE7C,YACqB,IAAIC,GAA2DD,EAAoB,QAC/EE,EAA4DF,EAAoB,QAChFG,EAAwDH,EAAoB,OCcrGD,GAAA,GDUEK,YCPFC,WAAAJ,EAAA,EACAK,YAAAJ,EAAA,EAEAK,QAAAJ,EAAA,GDSEK,KAAM,WACJ,OACEC,UCPN,MDWEC,UACEC,UAAW,WCTf,GAAAC,GAAAC,KDYUC,IAYJ,OAXAD,MAAKE,OAAOC,QAAQC,IAAIC,QAAQ,SAAUC,GACpCP,EAAMG,OAAOK,MAAMC,KACjBF,EAAGG,MAAQV,EAAMH,WAAaU,EAAGE,MACnCP,EAAKS,KCXjBJ,GDccA,EAAGG,MAAQV,EAAMH,WACnBK,EAAKS,KCXjBJ,KAIAL,MDkBMU,OACA,SAAU1B,EAAQC,EAAqBC,GAE7C,YEhDAD,GAAA,GFuEE0B,OACEC,SACEC,KErENC,OFsEMC,QEpEN,WFsEIC,OACEH,KErENC,OFsEMC,QEpEN,YFsEIE,KACEJ,KErENC,OFsEMC,QEnEN,iBF0EMG,OACA,SAAUlC,EAAQC,EAAqBC,GAE7C,YGjHA,IAAAiC,GAAA,WAA0B,GAAA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A,YAAsBF,EAAA,eAAoBS,OAAOyE,WAAArF,EAAAzB,WAA2B6C,IAAKqF,oBAAA,SAAAjF,GAAqCxB,EAAAzB,UAAAiD,MAAuBrB,EAAA,oBAAyBE,YAAA,UAAAO,OAA6BJ,KAAA,QAAAkG,IAAA,YAAgC1G,EAAA2G,GAAA3G,EAAA,mBAAAsE,EAAAuB,GAA6C,MAAA1F,GAAA,YAAsByG,IAAA,OAAAhG,OAAkB0D,OAAAuB,eAA6B,QACtjB5D,KACAI,GAAiBtC,SAAAkC,kBACjBpE,GAAA,KpB6fMgJ,OACA,SAAUjJ,EAAQC,EAAqBC,GAE7C,YqBngBA,SAAAgG,GAAAC,GACAjG,EAAA,QrBmgBqB,GAAIgJ,GAAkQhJ,EAAoB,QqBpgB/SiJ,EAAAjJ,EAAA,QAGAoG,EAAApG,EAAA,QAQAqG,EAAAL,EAKAM,EAAAF,EACA4C,EAAA,EACAC,EAAA,GATA,EAWA5C,EAPA,kBAEA,KAUAtG,GAAA,EAAAuG,EAAA,SrB2gBM4C,KACA,SAAUpJ,EAAQC,EAAqBC,GAE7C,YsBviBA,SAAAgG,GAAAC,GACAjG,EAAA,QtBuiBqB,GAAImJ,GAAoQnJ,EAAoB,QsBxiBjToJ,EAAApJ,EAAA,QAGAoG,EAAApG,EAAA,QAQAqG,EAAAL,EAKAM,EAAAF,EACA+C,EAAA,EACAC,EAAA,GATA,EAWA/C,EAPA,kBAEA,KAUAtG,GAAA,EAAAuG,EAAA,StB+iBM+C,KACA,SAAUvJ,EAAQ2E,EAASzE,GuBzkBjCyE,EAAA3E,EAAA2E,QAAAzE,EAAA,YAKAyE,EAAAlD,MAAAzB,EAAA4E,EAAA,slKAA6mK","file":"pages/men.b0d4fd0ef0d516183a92.js","sourceRoot":""}
--------------------------------------------------------------------------------
/dist/_nuxt/pages/sale.bd5be994ecab3547b004.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([1],{"+fDo":function(t,e,a){"use strict";e.a={props:{bkcolor:{type:String,default:"#3b60ed"},title:{type:String,default:"Shoppity"},img:{type:String,default:"banner-ppl"}}}},"1RQb":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sidearea"},[a("h4",[t._v("Only Show Sale Items")]),a("div",{staticClass:"can-toggle demo-rebrand-2"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.trigger,expression:"trigger"}],attrs:{id:"e",type:"checkbox"},domProps:{checked:Array.isArray(t.trigger)?t._i(t.trigger,null)>-1:t.trigger},on:{change:t.updateSale,__c:function(e){var a=t.trigger,r=e.target,n=!!r.checked;if(Array.isArray(a)){var c=t._i(a,null);r.checked?c<0&&(t.trigger=a.concat([null])):c>-1&&(t.trigger=a.slice(0,c).concat(a.slice(c+1)))}else t.trigger=n}}}),t._m(0)])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("label",{attrs:{for:"e"}},[a("div",{staticClass:"can-toggle__switch",attrs:{"data-checked":"Yes","data-unchecked":"No"}})])}],c={render:r,staticRenderFns:n};e.a=c},"7Rud":function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,".item[data-v-d84f32c6]{border-radius:5px;padding:20px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.salepill[data-v-d84f32c6]{background:#e82319;color:#fff;font-family:Barlow,sans-serif;position:absolute;right:30px;top:60px;padding:2px 10px 4px;text-transform:uppercase;font-size:13px;font-weight:700;border-radius:1000px}p[data-v-d84f32c6]{font-size:18px}",""])},"8SN4":function(t,e,a){var r=a("7Rud");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("ae0141da",r,!0)},"9/bs":function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,".saleimg .ppl-banner{height:105%}",""])},CZKb:function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,"aside[data-v-301de34e]{background:#fff;float:left;padding:20px}.sidearea[data-v-301de34e]{border-bottom:1px solid #ccc}.sidearea[data-v-301de34e]:last-of-type{border:none}.callout[data-v-301de34e]{padding:20px 0}.callout h4[data-v-301de34e]{padding-bottom:10px}.sidearea[data-v-301de34e]:first-of-type{padding-bottom:40px}label[data-v-301de34e]{font-family:Playfair Display,serif;padding:15px 0;text-align:center}span[data-v-301de34e]{font-family:Barlow,sans-serif}.max[data-v-301de34e]{font-size:12px;float:right;color:#565656}.min[data-v-301de34e]{float:left;font-size:12px;color:#565656}",""])},ChaS:function(t,e,a){var r=a("CZKb");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("ecdac8b4",r,!0)},FjEy:function(t,e,a){var r=a("OiIw");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("12b9ca2d",r,!0)},GIRM:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"masthead",style:"background:"+t.bkcolor},[a("img",{staticClass:"ppl-banner",attrs:{src:"/"+t.img+".png",alt:"Banner Image"}}),a("svg",{staticClass:"bk",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1367.57 190.59",preserveAspectRato:"none",role:"presentation"}},[a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M1-5.7c26.29,0,52.59.07,78.88,0a13.65,13.65,0,0,1,8,2.25,85.25,85.25,0,0,1,19.56,17.1c9.32,11.46,6.88,35.64-9.63,43.28-13.87,6.43-28.32,9.78-43.33,11.41C36.52,70.29,18.7,69.25,1,66.53Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M1368.52,80.78c-5.4-1.17-11-1-16.31-2.88s-6.07-3.28-4.68-8.82.34-7.87-5.16-9.87c-5.33-1.94-10.86-3.37-16.18-5.35-10.6-3.93-19-10.53-24.43-20.67-1.2-2.25-2.6-4.55-2.19-7.14.7-4.39-1.64-6.79-5-8.8-8.53-5.16-17.66-9.17-26.49-13.76-4.75-2.47-9.62-4.75-13.94-8.13,1.08-1.48,2.43-.78,3.53-.78,25.81,0,51.62,0,77.43-.1,3,0,4.94.61,6.51,3.36a28.59,28.59,0,0,0,13.63,12.05c4.46,2,8.83,4.17,13.24,6.27Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M1246.48,127.21c4.46,3.79,8.85,7.68,13.41,11.34,5.62,4.53,11.83,5.91,18.58,2.58s12.78-1.78,18.46,2.79a88.76,88.76,0,0,1,19.86,22.17,29.91,29.91,0,0,1,3.68,8.19c1.58,5.92-.81,9.53-6.92,10.36-4.15.55-8.24-.15-12.25-1a88.26,88.26,0,0,0-33.5-.66c-14.87,2.68-28.51-.7-41.84-6.94-22.58-10.59-42.23-25.43-60.85-41.76C1143.63,115.46,1123.77,95.09,1108,71c-5.83-8.9-10.86-18.21-12.76-28.87a23.44,23.44,0,0,1,.22-10.34c3.15-11.87,12.11-16.31,23.25-11.25a60,60,0,0,1,20.71,15.64c11.66,13.57,26,24,39.62,35.32,4.86,4,9.85,7.94,14.78,11.91-4.63,2.68-8.39,5.94-9.77,11.53-5.1,20.5,11.63,42.56,32.77,43.12C1228.21,138.4,1237.65,133.68,1246.48,127.21Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#53be32"},attrs:{d:"M1060-5.65c28.66,0,56,0,83.38,0a3.46,3.46,0,0,1,3.52,2.47c5.25,11.77,14.4,19.2,26,24.43a120.59,120.59,0,0,1,29.81,19.24c11.73,10.27,18.86,22.91,19.29,38.75.15,5.53,3.51,8.22,7.76,10.32,8.66,4.27,14.35,11.26,18.39,19.76a29.06,29.06,0,0,1,2.26,6.72c1.22,6.35-1.89,10.12-8.35,10.34a36.73,36.73,0,0,1-13-2.4c-23.47-8-43.56-21-59.29-40.26-9.44-11.53-20.14-20.56-34.83-25a43,43,0,0,1-27.18-22.93c-1.47-3-2.7-6-2-9.54s-1.62-5.25-4-6.93c-8.27-5.88-17.35-10.4-26.16-15.38C1070.65,1.15,1065.45-1.19,1060-5.65Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M261.84,174.13c-13.37-5.54-29.23-1.89-45-1.77-8.29.07-15.39-3.84-21.47-9a359.35,359.35,0,0,1-65-72,30.88,30.88,0,0,1-4.18-8.48c-1.34-4.51.44-6.5,5-5.21a37.81,37.81,0,0,1,15,7.73c15.51,13.52,31.19,26.85,48.54,38,2.25,1.45,4.64,2.72,7,4,3.62,1.91,6.86,2,10.47-.76,5.37-4.14,11.56-3.71,17.62-1.35,7.2,2.8,13.12,7.56,18.73,12.73,6.88,6.35,13.28,13.14,18.28,21.12a35.38,35.38,0,0,1,3.18,6.33C272.33,171.44,270.27,174.3,261.84,174.13Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M748.31,123.68c14.77.31,27.3,2.41,39.17,7.74a45.65,45.65,0,0,1,11.27,6.91c8.94,7.68,9.74,17.32,1.91,26.14-7.33,8.24-17,12.47-27.5,14.81-15.19,3.4-29.28.91-41.35-9.41-8-6.81-12.22-15.59-12.09-26.22.1-8.51,3.88-13.93,11.82-17.05a31.45,31.45,0,0,1,5.9-1.75C741.63,124.09,745.87,123.49,748.31,123.68Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#6fb859"},attrs:{d:"M423,26.26c-2.71-3.56-6.63-5.17-10.64-6.65-9.88-3.65-19.22-8.08-24.78-17.76-1.33-2.31-2.82-4.58-2.75-7.42l58.89-.13a6.07,6.07,0,0,1,3.61.88c13.46,9,24.61,19.63,25.22,37.29.16,4.67,2.39,7.51,6.43,9.6,7.75,4,12.28,10.82,14.71,19,1.82,6.11-1.1,9.53-7.48,9.23-4-.18-7.74-1.53-11.42-3a100.94,100.94,0,0,1-43.05-31.72C429.11,32.25,426.45,28.89,423,26.26Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M575.82,38.08A39.5,39.5,0,0,1,595,42.69c18.58,9.78,33.85,23.2,44.54,41.48a38.31,38.31,0,0,1,4.31,10.49c1.5,6.29-.31,8.07-6.47,6.39-5.7-1.56-10.88-4.32-16-7.21a313.2,313.2,0,0,1-43.66-30.19c-4.54-3.71-8.8-7.77-11.91-12.82-4.52-7.34-2-12.08,6.65-12.74C573.6,38,574.72,38.08,575.82,38.08Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M618.36-5.69c26.94,0,52.87,0,78.8-.06,2.58,0,3.52,1,4.19,3.27,5.35,18.42-9.74,34.88-29.05,31.59-14.37-2.44-26-10.26-37.15-19A125.55,125.55,0,0,1,618.36-5.69Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M576.6,166.37c-9.69-14.55-21.23-27.62-33.7-39.77a81,81,0,0,0-30.38-18.95c-4-1.35-8.54-3.09-12.08.51-3.27,3.32-1.25,7.44-.26,11.23.08.3.25.58.32.89,1.21,4.74-.39,6.37-5.13,4.9a53.63,53.63,0,0,1-13.45-6.94,460.36,460.36,0,0,1-67.6-55.12,53.43,53.43,0,0,1-8.24-10.4c-4.39-7.25-3.32-11.48,4-15.61a37.66,37.66,0,0,1,6.43-3c3.85-1.31,6.09-3.78,6.55-7.83-2.71-3.56-6.63-5.17-10.64-6.65-9.88-3.65-19.22-8.08-24.78-17.76-1.33-2.31-2.82-4.58-2.75-7.42H280.77c5.05,5.3,9.78,10.18,14.4,15.16,4.36,4.69,8.4,9.71,8.84,16.39.52,7.74,3.56,14.35,8.05,20.44,8.77,11.92,19.2,22.3,30,32.36,12.38,11.57,25.71,22.08,37.63,34.16a31.74,31.74,0,0,1,6.28,8.28c1.86,3.79.58,6.39-3.06,8.08-2.84,1.32-5.89,1.11-8.88,1.08-14.15-.18-27.9-3.53-41.83-5.43-6.59-.89-13.18-1.79-19.86-1.41-8.54.49-10.77,4.56-6.35,11.76,1.41,2.29,3,4.46,4.62,6.61,7.65,10.26,17.7,18,27.29,26.29,6.6-.1,13.2,0,19.58,1.89,4.69,1.41,8.25,3.33,10.81,5.91H581.73A44.12,44.12,0,0,0,576.6,166.37Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#75d8d0"},attrs:{d:"M895.1,155.77c-4.75-4.23-9.12-8.83-12.22-14.39-2.7-4.84-1.2-7.9,4.17-8.9a50.18,50.18,0,0,1,6.62-.35c9.64-.45,17.79-8.48,17.81-17.56,0-5.54-1.87-8.91-7.86-13.23-9.22-6.67-18.66-13.06-27.8-19.85-24.6-18.28-51.37-33.58-74.17-54.36-6.29-5.75-13.64-10.31-22.19-12.34-10.94-2.6-18.56,5.28-15.64,16.07,1.78,6.56,5.35,12.14,9.28,17.5,11.75,16,26.42,29.4,40.38,43.4,9.9,9.94,8.64,15.22-4.91,19.35-6.94,2.11-14,3.72-21,5.79-3.14.94-6.8,2-7.17,6-.35,3.81,2.3,6.4,5.12,8.56a26.13,26.13,0,0,0,4.45,2.7c5.57,2.74,11.55,4.21,17.57,5.57,15.15,3.43,30,7.21,42.42,17.62,7.24,6.09,14.33,12.34,21.37,18.65H920C911.49,169.55,903.11,162.9,895.1,155.77Z",transform:"translate(-0.95 5.75)"}})]),a("h1",[t._v(t._s(t.title))])])},n=[],c={render:r,staticRenderFns:n};e.a=c},Hfyb:function(t,e,a){var r=a("unX5");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);a("rjj0")("4b521691",r,!0)},JufQ:function(t,e,a){"use strict";function r(t){a("ChaS")}var n=a("a+0u"),c=a("YdtB"),o=a("VU/8"),i=r,s=o(n.a,c.a,!1,i,"data-v-301de34e",null);e.a=s.exports},K5rK:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"item"},[a("p",[t._v(t._s(t.item.name))]),t.item.sale?a("span",{staticClass:"salepill"},[t._v("Sale")]):t._e(),a("img",{attrs:{src:"/"+t.item.img,alt:"Image of "+t.item.name}}),a("p",[t._v(t._s(t._f("usdollar")(t.item.price)))]),a("button",{staticClass:"add",on:{click:t.addItem}},[t._v("Add Item")])])},n=[],c={render:r,staticRenderFns:n};e.a=c},OiIw:function(t,e,a){e=t.exports=a("FZ+f")(!1),e.push([t.i,"h1[data-v-5a8d8125]{color:#fff;position:relative;z-index:100;font-size:60px;padding:8px 80px}.bk[data-v-5a8d8125]{position:absolute;top:0;left:0}.ppl-banner[data-v-5a8d8125]{position:absolute;z-index:10;right:100px}.masthead[data-v-5a8d8125]{width:100%;height:100px;color:#fff;position:relative;overflow:hidden;margin:10px 0}",""])},Rvpa:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("main",{staticClass:"capsule"},[a("div",{staticClass:"saleimg"},[a("app-masthead",{attrs:{img:"bk-sale",title:"Sale",bkcolor:"#1ba079"}})],1),a("div",{staticClass:"contain"},[a("app-sidebar",{attrs:{pricerange:t.highprice,sale:!0},on:{"update:pricerange":function(e){t.highprice=e}}}),a("transition-group",{staticClass:"content",attrs:{name:"items",tag:"section"}},t._l(t.sProducts,function(t,e){return a("app-item",{key:"item",attrs:{item:t,index:e}})}))],1)])},n=[],c={render:r,staticRenderFns:n};e.a=c},UvCO:function(t,e,a){"use strict";var r=a("JufQ"),n=a("jlTb"),c=a("p/c1");e.a={components:{AppSidebar:r.a,AppMasthead:n.a,AppItem:c.a},data:function(){return{highprice:300}},computed:{sProducts:function(){var t=this,e=[];return this.$store.getters.sale.forEach(function(a){a.price-1:e.trigger},on:{change:e.updateSale,__c:function(t){var a=e.trigger,r=t.target,n=!!r.checked;if(Array.isArray(a)){var o=e._i(a,null);r.checked?o<0&&(e.trigger=a.concat([null])):o>-1&&(e.trigger=a.slice(0,o).concat(a.slice(o+1)))}else e.trigger=n}}}),e._m(0)])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("label",{attrs:{for:"e"}},[a("div",{staticClass:"can-toggle__switch",attrs:{"data-checked":"Yes","data-unchecked":"No"}})])}],o={render:r,staticRenderFns:n};t.a=o},"7Rud":function(e,t,a){t=e.exports=a("FZ+f")(!1),t.push([e.i,".item[data-v-d84f32c6]{border-radius:5px;padding:20px;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.salepill[data-v-d84f32c6]{background:#e82319;color:#fff;font-family:Barlow,sans-serif;position:absolute;right:30px;top:60px;padding:2px 10px 4px;text-transform:uppercase;font-size:13px;font-weight:700;border-radius:1000px}p[data-v-d84f32c6]{font-size:18px}",""])},"8SN4":function(e,t,a){var r=a("7Rud");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("ae0141da",r,!0)},CZKb:function(e,t,a){t=e.exports=a("FZ+f")(!1),t.push([e.i,"aside[data-v-301de34e]{background:#fff;float:left;padding:20px}.sidearea[data-v-301de34e]{border-bottom:1px solid #ccc}.sidearea[data-v-301de34e]:last-of-type{border:none}.callout[data-v-301de34e]{padding:20px 0}.callout h4[data-v-301de34e]{padding-bottom:10px}.sidearea[data-v-301de34e]:first-of-type{padding-bottom:40px}label[data-v-301de34e]{font-family:Playfair Display,serif;padding:15px 0;text-align:center}span[data-v-301de34e]{font-family:Barlow,sans-serif}.max[data-v-301de34e]{font-size:12px;float:right;color:#565656}.min[data-v-301de34e]{float:left;font-size:12px;color:#565656}",""])},ChaS:function(e,t,a){var r=a("CZKb");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("ecdac8b4",r,!0)},FjEy:function(e,t,a){var r=a("OiIw");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("12b9ca2d",r,!0)},GIRM:function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"masthead",style:"background:"+e.bkcolor},[a("img",{staticClass:"ppl-banner",attrs:{src:"/"+e.img+".png",alt:"Banner Image"}}),a("svg",{staticClass:"bk",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1367.57 190.59",preserveAspectRato:"none",role:"presentation"}},[a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M1-5.7c26.29,0,52.59.07,78.88,0a13.65,13.65,0,0,1,8,2.25,85.25,85.25,0,0,1,19.56,17.1c9.32,11.46,6.88,35.64-9.63,43.28-13.87,6.43-28.32,9.78-43.33,11.41C36.52,70.29,18.7,69.25,1,66.53Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M1368.52,80.78c-5.4-1.17-11-1-16.31-2.88s-6.07-3.28-4.68-8.82.34-7.87-5.16-9.87c-5.33-1.94-10.86-3.37-16.18-5.35-10.6-3.93-19-10.53-24.43-20.67-1.2-2.25-2.6-4.55-2.19-7.14.7-4.39-1.64-6.79-5-8.8-8.53-5.16-17.66-9.17-26.49-13.76-4.75-2.47-9.62-4.75-13.94-8.13,1.08-1.48,2.43-.78,3.53-.78,25.81,0,51.62,0,77.43-.1,3,0,4.94.61,6.51,3.36a28.59,28.59,0,0,0,13.63,12.05c4.46,2,8.83,4.17,13.24,6.27Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M1246.48,127.21c4.46,3.79,8.85,7.68,13.41,11.34,5.62,4.53,11.83,5.91,18.58,2.58s12.78-1.78,18.46,2.79a88.76,88.76,0,0,1,19.86,22.17,29.91,29.91,0,0,1,3.68,8.19c1.58,5.92-.81,9.53-6.92,10.36-4.15.55-8.24-.15-12.25-1a88.26,88.26,0,0,0-33.5-.66c-14.87,2.68-28.51-.7-41.84-6.94-22.58-10.59-42.23-25.43-60.85-41.76C1143.63,115.46,1123.77,95.09,1108,71c-5.83-8.9-10.86-18.21-12.76-28.87a23.44,23.44,0,0,1,.22-10.34c3.15-11.87,12.11-16.31,23.25-11.25a60,60,0,0,1,20.71,15.64c11.66,13.57,26,24,39.62,35.32,4.86,4,9.85,7.94,14.78,11.91-4.63,2.68-8.39,5.94-9.77,11.53-5.1,20.5,11.63,42.56,32.77,43.12C1228.21,138.4,1237.65,133.68,1246.48,127.21Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#53be32"},attrs:{d:"M1060-5.65c28.66,0,56,0,83.38,0a3.46,3.46,0,0,1,3.52,2.47c5.25,11.77,14.4,19.2,26,24.43a120.59,120.59,0,0,1,29.81,19.24c11.73,10.27,18.86,22.91,19.29,38.75.15,5.53,3.51,8.22,7.76,10.32,8.66,4.27,14.35,11.26,18.39,19.76a29.06,29.06,0,0,1,2.26,6.72c1.22,6.35-1.89,10.12-8.35,10.34a36.73,36.73,0,0,1-13-2.4c-23.47-8-43.56-21-59.29-40.26-9.44-11.53-20.14-20.56-34.83-25a43,43,0,0,1-27.18-22.93c-1.47-3-2.7-6-2-9.54s-1.62-5.25-4-6.93c-8.27-5.88-17.35-10.4-26.16-15.38C1070.65,1.15,1065.45-1.19,1060-5.65Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M261.84,174.13c-13.37-5.54-29.23-1.89-45-1.77-8.29.07-15.39-3.84-21.47-9a359.35,359.35,0,0,1-65-72,30.88,30.88,0,0,1-4.18-8.48c-1.34-4.51.44-6.5,5-5.21a37.81,37.81,0,0,1,15,7.73c15.51,13.52,31.19,26.85,48.54,38,2.25,1.45,4.64,2.72,7,4,3.62,1.91,6.86,2,10.47-.76,5.37-4.14,11.56-3.71,17.62-1.35,7.2,2.8,13.12,7.56,18.73,12.73,6.88,6.35,13.28,13.14,18.28,21.12a35.38,35.38,0,0,1,3.18,6.33C272.33,171.44,270.27,174.3,261.84,174.13Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M748.31,123.68c14.77.31,27.3,2.41,39.17,7.74a45.65,45.65,0,0,1,11.27,6.91c8.94,7.68,9.74,17.32,1.91,26.14-7.33,8.24-17,12.47-27.5,14.81-15.19,3.4-29.28.91-41.35-9.41-8-6.81-12.22-15.59-12.09-26.22.1-8.51,3.88-13.93,11.82-17.05a31.45,31.45,0,0,1,5.9-1.75C741.63,124.09,745.87,123.49,748.31,123.68Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#6fb859"},attrs:{d:"M423,26.26c-2.71-3.56-6.63-5.17-10.64-6.65-9.88-3.65-19.22-8.08-24.78-17.76-1.33-2.31-2.82-4.58-2.75-7.42l58.89-.13a6.07,6.07,0,0,1,3.61.88c13.46,9,24.61,19.63,25.22,37.29.16,4.67,2.39,7.51,6.43,9.6,7.75,4,12.28,10.82,14.71,19,1.82,6.11-1.1,9.53-7.48,9.23-4-.18-7.74-1.53-11.42-3a100.94,100.94,0,0,1-43.05-31.72C429.11,32.25,426.45,28.89,423,26.26Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M575.82,38.08A39.5,39.5,0,0,1,595,42.69c18.58,9.78,33.85,23.2,44.54,41.48a38.31,38.31,0,0,1,4.31,10.49c1.5,6.29-.31,8.07-6.47,6.39-5.7-1.56-10.88-4.32-16-7.21a313.2,313.2,0,0,1-43.66-30.19c-4.54-3.71-8.8-7.77-11.91-12.82-4.52-7.34-2-12.08,6.65-12.74C573.6,38,574.72,38.08,575.82,38.08Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#fe3a25"},attrs:{d:"M618.36-5.69c26.94,0,52.87,0,78.8-.06,2.58,0,3.52,1,4.19,3.27,5.35,18.42-9.74,34.88-29.05,31.59-14.37-2.44-26-10.26-37.15-19A125.55,125.55,0,0,1,618.36-5.69Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#758ee2"},attrs:{d:"M576.6,166.37c-9.69-14.55-21.23-27.62-33.7-39.77a81,81,0,0,0-30.38-18.95c-4-1.35-8.54-3.09-12.08.51-3.27,3.32-1.25,7.44-.26,11.23.08.3.25.58.32.89,1.21,4.74-.39,6.37-5.13,4.9a53.63,53.63,0,0,1-13.45-6.94,460.36,460.36,0,0,1-67.6-55.12,53.43,53.43,0,0,1-8.24-10.4c-4.39-7.25-3.32-11.48,4-15.61a37.66,37.66,0,0,1,6.43-3c3.85-1.31,6.09-3.78,6.55-7.83-2.71-3.56-6.63-5.17-10.64-6.65-9.88-3.65-19.22-8.08-24.78-17.76-1.33-2.31-2.82-4.58-2.75-7.42H280.77c5.05,5.3,9.78,10.18,14.4,15.16,4.36,4.69,8.4,9.71,8.84,16.39.52,7.74,3.56,14.35,8.05,20.44,8.77,11.92,19.2,22.3,30,32.36,12.38,11.57,25.71,22.08,37.63,34.16a31.74,31.74,0,0,1,6.28,8.28c1.86,3.79.58,6.39-3.06,8.08-2.84,1.32-5.89,1.11-8.88,1.08-14.15-.18-27.9-3.53-41.83-5.43-6.59-.89-13.18-1.79-19.86-1.41-8.54.49-10.77,4.56-6.35,11.76,1.41,2.29,3,4.46,4.62,6.61,7.65,10.26,17.7,18,27.29,26.29,6.6-.1,13.2,0,19.58,1.89,4.69,1.41,8.25,3.33,10.81,5.91H581.73A44.12,44.12,0,0,0,576.6,166.37Z",transform:"translate(-0.95 5.75)"}}),a("path",{staticStyle:{fill:"#75d8d0"},attrs:{d:"M895.1,155.77c-4.75-4.23-9.12-8.83-12.22-14.39-2.7-4.84-1.2-7.9,4.17-8.9a50.18,50.18,0,0,1,6.62-.35c9.64-.45,17.79-8.48,17.81-17.56,0-5.54-1.87-8.91-7.86-13.23-9.22-6.67-18.66-13.06-27.8-19.85-24.6-18.28-51.37-33.58-74.17-54.36-6.29-5.75-13.64-10.31-22.19-12.34-10.94-2.6-18.56,5.28-15.64,16.07,1.78,6.56,5.35,12.14,9.28,17.5,11.75,16,26.42,29.4,40.38,43.4,9.9,9.94,8.64,15.22-4.91,19.35-6.94,2.11-14,3.72-21,5.79-3.14.94-6.8,2-7.17,6-.35,3.81,2.3,6.4,5.12,8.56a26.13,26.13,0,0,0,4.45,2.7c5.57,2.74,11.55,4.21,17.57,5.57,15.15,3.43,30,7.21,42.42,17.62,7.24,6.09,14.33,12.34,21.37,18.65H920C911.49,169.55,903.11,162.9,895.1,155.77Z",transform:"translate(-0.95 5.75)"}})]),a("h1",[e._v(e._s(e.title))])])},n=[],o={render:r,staticRenderFns:n};t.a=o},GvOF:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Op7Q"),n=a("dHeU"),o=a("VU/8"),c=o(r.a,n.a,!1,null,null,null);t.default=c.exports},Hfyb:function(e,t,a){var r=a("unX5");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("4b521691",r,!0)},JufQ:function(e,t,a){"use strict";function r(e){a("ChaS")}var n=a("a+0u"),o=a("YdtB"),c=a("VU/8"),i=r,s=c(n.a,o.a,!1,i,"data-v-301de34e",null);t.a=s.exports},K5rK:function(e,t,a){"use strict";var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"item"},[a("p",[e._v(e._s(e.item.name))]),e.item.sale?a("span",{staticClass:"salepill"},[e._v("Sale")]):e._e(),a("img",{attrs:{src:"/"+e.item.img,alt:"Image of "+e.item.name}}),a("p",[e._v(e._s(e._f("usdollar")(e.item.price)))]),a("button",{staticClass:"add",on:{click:e.addItem}},[e._v("Add Item")])])},n=[],o={render:r,staticRenderFns:n};t.a=o},OiIw:function(e,t,a){t=e.exports=a("FZ+f")(!1),t.push([e.i,"h1[data-v-5a8d8125]{color:#fff;position:relative;z-index:100;font-size:60px;padding:8px 80px}.bk[data-v-5a8d8125]{position:absolute;top:0;left:0}.ppl-banner[data-v-5a8d8125]{position:absolute;z-index:10;right:100px}.masthead[data-v-5a8d8125]{width:100%;height:100px;color:#fff;position:relative;overflow:hidden;margin:10px 0}",""])},Op7Q:function(e,t,a){"use strict";var r=a("JufQ"),n=a("jlTb"),o=a("p/c1");t.a={components:{AppSidebar:r.a,AppMasthead:n.a,AppItem:o.a},data:function(){return{highprice:300}},computed:{wProducts:function(){var e=this,t=[];return this.$store.getters.women.forEach(function(a){e.$store.state.sale?a.priceshop
--------------------------------------------------------------------------------
/dist/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/favicon.ico
--------------------------------------------------------------------------------
/dist/hat1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/hat1.png
--------------------------------------------------------------------------------
/dist/index.html:
--------------------------------------------------------------------------------
1 | shop
--------------------------------------------------------------------------------
/dist/jacket1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/jacket1.png
--------------------------------------------------------------------------------
/dist/jacket2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/jacket2.png
--------------------------------------------------------------------------------
/dist/jacket3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/jacket3.png
--------------------------------------------------------------------------------
/dist/jacket4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/jacket4.png
--------------------------------------------------------------------------------
/dist/men/index.html:
--------------------------------------------------------------------------------
1 | shop
--------------------------------------------------------------------------------
/dist/sale/index.html:
--------------------------------------------------------------------------------
1 | shop
--------------------------------------------------------------------------------
/dist/shirt1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/shirt1.png
--------------------------------------------------------------------------------
/dist/shirt2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/shirt2.png
--------------------------------------------------------------------------------
/dist/shoe1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/shoe1.png
--------------------------------------------------------------------------------
/dist/sweater1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/sweater1.png
--------------------------------------------------------------------------------
/dist/sweater2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/sweater2.png
--------------------------------------------------------------------------------
/dist/sweater3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/sweater3.png
--------------------------------------------------------------------------------
/dist/sweater4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/sweater4.png
--------------------------------------------------------------------------------
/dist/sweater5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/dist/sweater5.png
--------------------------------------------------------------------------------
/dist/women/index.html:
--------------------------------------------------------------------------------
1 | shop
--------------------------------------------------------------------------------
/layouts/default.vue:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 |
24 |
25 |
48 |
--------------------------------------------------------------------------------
/nuxt.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | /*
3 | ** Headers of the page
4 | */
5 | head: {
6 | title: 'shop',
7 | script: [{ src: 'https://js.stripe.com/v3/' }],
8 | meta: [
9 | { charset: 'utf-8' },
10 | { name: 'viewport', content: 'width=device-width, initial-scale=1' },
11 | { hid: 'description', name: 'description', content: 'Nuxt.js project' }
12 | ],
13 | link: [
14 | { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
15 | {
16 | rel: 'stylesheet',
17 | href:
18 | 'https://fonts.googleapis.com/css?family=Barlow:400,600|Playfair+Display:700'
19 | }
20 | ]
21 | },
22 | css: ['~/assets/main.css'],
23 | /*
24 | ** Customize the progress bar color
25 | */
26 | loading: { color: '#3e64ea' }
27 | };
28 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "shop",
3 | "version": "1.0.0",
4 | "description": "Nuxt.js project",
5 | "author": "sdras ",
6 | "private": true,
7 | "scripts": {
8 | "dev": "nuxt",
9 | "build": "nuxt build",
10 | "generate": "nuxt generate --spa",
11 | "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
12 | "precommit": "npm run lint"
13 | },
14 | "dependencies": {
15 | "axios": "^0.17.1",
16 | "gsap": "^1.20.3",
17 | "node-sass": "^4.7.2",
18 | "nuxt": "^1.0.0-rc11",
19 | "sass-loader": "^6.0.6",
20 | "vue-stripe-elements-plus": "^0.2.6",
21 | "vuex": "^3.0.1"
22 | },
23 | "devDependencies": {
24 | "babel-eslint": "^7.2.3",
25 | "eslint": "^4.3.0",
26 | "eslint-config-standard": "^10.2.1",
27 | "eslint-loader": "^1.9.0",
28 | "eslint-plugin-html": "^3.1.1",
29 | "eslint-plugin-import": "^2.7.0",
30 | "eslint-plugin-node": "^5.1.1",
31 | "eslint-plugin-promise": "^3.5.0",
32 | "eslint-plugin-standard": "^3.0.1"
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/pages/cart.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
Cart
6 |
9 |
10 |
{{ item.name }}
11 |
{{ item.price | usdollar }} x {{ item.count }}
12 |
Total for this item: {{ item.price * item.count }}
13 |
14 |
![]()
15 |
16 |
17 |
Total: {{ total | usdollar }}
18 |
19 |
20 |
21 |
22 |
23 |
Cart
24 | Your cart is empty.
25 |
26 |
27 |
28 |
29 |
30 |
Success!
31 |
Your order has been processed, it will be delivered shortly.
32 |
33 |
34 |
35 |
36 |
37 |
71 |
72 |
117 |
--------------------------------------------------------------------------------
/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
17 |
18 |
45 |
46 |
71 |
--------------------------------------------------------------------------------
/pages/men.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
17 |
18 |
45 |
--------------------------------------------------------------------------------
/pages/sale.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
17 |
18 |
19 |
20 |
43 |
44 |
49 |
--------------------------------------------------------------------------------
/pages/women.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
17 |
18 |
45 |
--------------------------------------------------------------------------------
/static/README.md:
--------------------------------------------------------------------------------
1 | # ASSETS
2 |
3 | This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
4 |
5 | More information about the usage of this directory in the documentation:
6 | https://nuxtjs.org/guide/assets#webpacked
7 |
8 | **This directory is not required, you can delete it if you don't want to use it.**
9 |
--------------------------------------------------------------------------------
/static/banner-ppl-women.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/banner-ppl-women.png
--------------------------------------------------------------------------------
/static/banner-ppl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/banner-ppl.png
--------------------------------------------------------------------------------
/static/bk-sale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/bk-sale.png
--------------------------------------------------------------------------------
/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/favicon.ico
--------------------------------------------------------------------------------
/static/hat1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/hat1.png
--------------------------------------------------------------------------------
/static/jacket1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/jacket1.png
--------------------------------------------------------------------------------
/static/jacket2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/jacket2.png
--------------------------------------------------------------------------------
/static/jacket3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/jacket3.png
--------------------------------------------------------------------------------
/static/jacket4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/jacket4.png
--------------------------------------------------------------------------------
/static/shirt1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/shirt1.png
--------------------------------------------------------------------------------
/static/shirt2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/shirt2.png
--------------------------------------------------------------------------------
/static/shoe1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/shoe1.png
--------------------------------------------------------------------------------
/static/sweater1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/sweater1.png
--------------------------------------------------------------------------------
/static/sweater2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/sweater2.png
--------------------------------------------------------------------------------
/static/sweater3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/sweater3.png
--------------------------------------------------------------------------------
/static/sweater4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/sweater4.png
--------------------------------------------------------------------------------
/static/sweater5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sdras/sample-vue-shop/fca151c798ec948a799725836c93848d3e49d4db/static/sweater5.png
--------------------------------------------------------------------------------
/store/index.js:
--------------------------------------------------------------------------------
1 | import Vuex from "vuex"
2 |
3 | const createStore = () => {
4 | return new Vuex.Store({
5 | state: {
6 | cartTotal: 0,
7 | cart: [],
8 | sale: false,
9 | products: [
10 | {
11 | name: "Khaki Suede Polish Work Boots",
12 | price: 149.99,
13 | category: "women",
14 | sale: true,
15 | article: "shoe",
16 | img: "shoe1.png"
17 | },
18 | {
19 | name: "Camo Fang Backpack Jungle",
20 | price: 39.99,
21 | category: "women",
22 | sale: false,
23 | article: "jacket",
24 | img: "jacket1.png"
25 | },
26 | {
27 | name: "Parka and Quilted Liner Jacket",
28 | price: 49.99,
29 | category: "men",
30 | sale: true,
31 | article: "jacket",
32 | img: "jacket2.png"
33 | },
34 | {
35 | name: "Cotton Black Cap",
36 | price: 12.99,
37 | category: "men",
38 | sale: true,
39 | article: "hats",
40 | img: "hat1.png"
41 | },
42 | {
43 | name: "Knit Sweater with Zips",
44 | price: 29.99,
45 | category: "women",
46 | sale: false,
47 | article: "sweater",
48 | img: "sweater1.png"
49 | },
50 | {
51 | name: "Long Linen-blend Shirt",
52 | price: 18.99,
53 | category: "men",
54 | sale: false,
55 | article: "shirt",
56 | img: "shirt1.png"
57 | },
58 | {
59 | name: "Knit Orange Sweater",
60 | price: 28.99,
61 | category: "men",
62 | sale: false,
63 | article: "sweater",
64 | img: "sweater2.png"
65 | },
66 | {
67 | name: "Cotton Band-collar Blouse",
68 | price: 49.99,
69 | category: "men",
70 | sale: false,
71 | article: "shirt",
72 | img: "shirt2.png"
73 | },
74 | {
75 | name: "Camo Fang Backpack Jungle",
76 | price: 59.99,
77 | category: "women",
78 | sale: true,
79 | article: "jacket",
80 | img: "jacket3.png"
81 | },
82 | {
83 | name: "Golden Pilot Jacket",
84 | price: 129.99,
85 | category: "women",
86 | sale: false,
87 | article: "jacket",
88 | img: "jacket4.png"
89 | },
90 | {
91 | name: "Spotted Patterned Sweater",
92 | price: 80.99,
93 | category: "women",
94 | sale: false,
95 | article: "jacket",
96 | img: "sweater4.png"
97 | },
98 | {
99 | name: "Double Knit Sweater",
100 | price: 59.99,
101 | category: "men",
102 | sale: true,
103 | article: "jacket",
104 | img: "sweater5.png"
105 | }
106 | ]
107 | },
108 | getters: {
109 | women: state => filter(state.products, "category", "women"),
110 | men: state => filter(state.products, "category", "men"),
111 | sale: state => filter(state.products, "sale", true)
112 | },
113 | mutations: {
114 | switchSale: state => {
115 | state.sale = !state.sale
116 | },
117 | addItem(state, payload) {
118 | state.cartTotal += payload.qty
119 | state.cart.push(payload)
120 | },
121 | removeCartItem(state, payload) {
122 | state.cartTotal -= payload.qty
123 | const cartItemPostion = state.cart.indexOf(payload)
124 | state.cart.splice(cartItemPostion, 1)
125 | },
126 | clearCartCount(state) {
127 | state.cartTotal = 0
128 | },
129 | clearCartContents(state) {
130 | state.cart = []
131 | }
132 | }
133 | })
134 | }
135 |
136 | export default createStore
137 |
138 | //helper
139 | const filter = (array, key, value) => array.filter(item => item[key] === value)
140 |
--------------------------------------------------------------------------------
/web.config:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
42 |
43 |
44 |
--------------------------------------------------------------------------------