Skip to content

Commit 1ddab85

Browse files
committed
Initial revision
0 parents  commit 1ddab85

File tree

10 files changed

+9959
-0
lines changed

10 files changed

+9959
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/.idea
2+
/.nuxt
3+
/.output
4+
/node_modules
5+
/dist

content/components/button.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Button
2+
3+
This is the documentation for buttons
4+
5+
<gv-button>Hello Nuxt!</gv-button>

layouts/default.vue

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<template>
2+
<div>
3+
<gv-header/>
4+
<div class="govuk-width-container ">
5+
<main class="govuk-main-wrapper " id="main-content" role="main">
6+
<slot/>
7+
</main>
8+
</div>
9+
<gv-footer/>
10+
</div>
11+
</template>
12+
13+
<style lang="scss">
14+
/* http://meyerweb.com/eric/tools/css/reset/
15+
v2.0 | 20110126
16+
License: none (public domain)
17+
*/
18+
19+
html, body, div, span, applet, object, iframe,
20+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
21+
a, abbr, acronym, address, big, cite, code,
22+
del, dfn, em, img, ins, kbd, q, s, samp,
23+
small, strike, strong, sub, sup, tt, var,
24+
b, u, i, center,
25+
dl, dt, dd, ol, ul, li,
26+
fieldset, form, label, legend,
27+
table, caption, tbody, tfoot, thead, tr, th, td,
28+
article, aside, canvas, details, embed,
29+
figure, figcaption, footer, header, hgroup,
30+
menu, nav, output, ruby, section, summary,
31+
time, mark, audio, video {
32+
margin: 0;
33+
padding: 0;
34+
border: 0;
35+
font-size: 100%;
36+
font: inherit;
37+
vertical-align: baseline;
38+
}
39+
/* HTML5 display-role reset for older browsers */
40+
article, aside, details, figcaption, figure,
41+
footer, header, hgroup, menu, nav, section {
42+
display: block;
43+
}
44+
body {
45+
line-height: 1;
46+
}
47+
ol, ul {
48+
list-style: none;
49+
}
50+
blockquote, q {
51+
quotes: none;
52+
}
53+
blockquote:before, blockquote:after,
54+
q:before, q:after {
55+
content: '';
56+
content: none;
57+
}
58+
table {
59+
border-collapse: collapse;
60+
border-spacing: 0;
61+
}
62+
63+
@import './node_modules/govuk-frontend/govuk/all';
64+
</style>

nuxt.config.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// https://nuxt.com/docs/api/configuration/nuxt-config
2+
export default defineNuxtConfig({
3+
modules: [
4+
'@nuxt/content'
5+
],
6+
vite: {
7+
server: {
8+
fs: {
9+
allow: ["C:/Users/Matt/Documents/GitHub/govuk-vue/dist"]
10+
}
11+
}
12+
}
13+
})

0 commit comments

Comments
 (0)