Skip to content

Commit d3eab6d

Browse files
authored
Merge pull request #22 from wedinc/style/md-css-module
2 parents 59cfba4 + 23c8e03 commit d3eab6d

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"@nuxt/content": "^2.8.5",
1212
"@nuxtjs/eslint-config-typescript": "^12.1.0",
1313
"@nuxtjs/tailwindcss": "^6.8.0",
14+
"@tailwindcss/typography": "^0.5.10",
1415
"@typescript-eslint/eslint-plugin": "^6.8.0",
1516
"@typescript-eslint/parser": "^6.8.0",
1617
"@vue/eslint-config-prettier": "^8.0.0",

pages/[slug].vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
22
<main>
3-
<ContentRenderer v-if="data" :value="data" />
3+
<article class="prose">
4+
<ContentRenderer v-if="data" :value="data" />
5+
</article>
46
</main>
57
</template>
68

tailwind.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
export default {
33
content: [],
44
theme: {
5-
extend: {},
5+
extend: {}
66
},
7-
plugins: [],
7+
plugins: [require('@tailwindcss/typography')]
88
}
9-

yarn.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,16 @@
13831383
resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553"
13841384
integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==
13851385

1386+
"@tailwindcss/typography@^0.5.10":
1387+
version "0.5.10"
1388+
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.5.10.tgz#2abde4c6d5c797ab49cf47610830a301de4c1e0a"
1389+
integrity sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==
1390+
dependencies:
1391+
lodash.castarray "^4.4.0"
1392+
lodash.isplainobject "^4.0.6"
1393+
lodash.merge "^4.6.2"
1394+
postcss-selector-parser "6.0.10"
1395+
13861396
"@tootallnate/once@2":
13871397
version "2.0.0"
13881398
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"
@@ -5189,6 +5199,11 @@ locate-path@^6.0.0:
51895199
dependencies:
51905200
p-locate "^5.0.0"
51915201

5202+
lodash.castarray@^4.4.0:
5203+
version "4.4.0"
5204+
resolved "https://registry.yarnpkg.com/lodash.castarray/-/lodash.castarray-4.4.0.tgz#c02513515e309daddd4c24c60cfddcf5976d9115"
5205+
integrity sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==
5206+
51925207
lodash.debounce@^4.0.8:
51935208
version "4.0.8"
51945209
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
@@ -5204,6 +5219,11 @@ lodash.isarguments@^3.1.0:
52045219
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
52055220
integrity sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==
52065221

5222+
lodash.isplainobject@^4.0.6:
5223+
version "4.0.6"
5224+
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
5225+
integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==
5226+
52075227
lodash.memoize@^4.1.2:
52085228
version "4.1.2"
52095229
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
@@ -7323,6 +7343,14 @@ postcss-reduce-transforms@^6.0.0:
73237343
dependencies:
73247344
postcss-value-parser "^4.2.0"
73257345

7346+
7347+
version "6.0.10"
7348+
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d"
7349+
integrity sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==
7350+
dependencies:
7351+
cssesc "^3.0.0"
7352+
util-deprecate "^1.0.2"
7353+
73267354
postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.11, postcss-selector-parser@^6.0.13, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5:
73277355
version "6.0.13"
73287356
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b"

0 commit comments

Comments
 (0)