Skip to content

Commit 294983a

Browse files
committed
fix: template fixes
1 parent ffdb542 commit 294983a

File tree

21 files changed

+71
-235
lines changed

21 files changed

+71
-235
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v1.0.2
2+
3+
> `2024-04-17`
4+
5+
### 🐞 Bug Fixes
6+
- Template fixes.
7+
18
## v1.0.1
29

310
> `2024-04-17`

dist/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "/Users/adamberecz/Code/create-vueform/src/index";
2+
export { default } from "/Users/adamberecz/Code/create-vueform/src/index";

dist/index.mjs

Lines changed: 11 additions & 63 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-vueform",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"type": "module",
55
"license": "MIT",
66
"author": "Adam Berecz",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async function main() {
176176
if (projectName && framework) {
177177
const fw = getFramework(framework)
178178

179-
status(`Creating project '${projectName}' using ${fw.title}...`)
179+
status(`\nCreating project '${projectName}' using ${fw.title}...`)
180180

181181
const template = framework === 'vite' ? `vue${ts ? '-ts' : ''}` : ''
182182

templates/builder/laravel/tailwind/js/tailwind.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import builderPlugin from '@vueform/builder/tailwind'
44
/** @type {import('tailwindcss').Config} */
55
export default {
66
content: [
7-
"./resources/**/*.blade.php",
8-
"./resources/**/*.js",
9-
"./resources/**/*.vue",
7+
'./resources/**/*.blade.php',
8+
'./resources/**/*.js',
9+
'./resources/**/*.vue',
10+
'./vueform.config.js',
1011
'./node_modules/@vueform/vueform/themes/tailwind/**/*.vue',
1112
'./node_modules/@vueform/vueform/themes/tailwind/**/*.js',
1213
'./node_modules/@vueform/builder/**/*.js',

templates/builder/nuxt/tailwind/ts/tailwind.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import builderPlugin from '@vueform/builder/tailwind'
44
/** @type {import('tailwindcss').Config} */
55
export default {
66
content: [
7-
"./components/**/*.{js,vue,ts}",
8-
"./layouts/**/*.vue",
9-
"./pages/**/*.vue",
10-
"./plugins/**/*.{js,ts}",
11-
"./app.vue",
12-
"./error.vue",
13-
'./vueform.config.js',
7+
'./components/**/*.{js,vue,ts}',
8+
'./layouts/**/*.vue',
9+
'./pages/**/*.vue',
10+
'./plugins/**/*.{js,ts}',
11+
'./app.vue',
12+
'./error.vue',
13+
'./vueform.config.ts',
1414
'./node_modules/@vueform/vueform/themes/tailwind/**/*.vue',
1515
'./node_modules/@vueform/vueform/themes/tailwind/**/*.js',
1616
'./node_modules/@vueform/builder/**/*.js',

templates/vueform/laravel/tailwind-material/js/tailwind.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import vueformPlugin from '@vueform/vueform/tailwind'
33
/** @type {import('tailwindcss').Config} */
44
export default {
55
content: [
6-
"./resources/**/*.blade.php",
7-
"./resources/**/*.js",
8-
"./resources/**/*.vue",
6+
'./resources/**/*.blade.php',
7+
'./resources/**/*.js',
8+
'./resources/**/*.vue',
9+
'./vueform.config.js',
910
'./node_modules/@vueform/vueform/themes/tailwind/**/*.vue',
1011
'./node_modules/@vueform/vueform/themes/tailwind/**/*.js',
1112
],

templates/vueform/laravel/tailwind/js/tailwind.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import vueformPlugin from '@vueform/vueform/tailwind'
33
/** @type {import('tailwindcss').Config} */
44
export default {
55
content: [
6-
"./resources/**/*.blade.php",
7-
"./resources/**/*.js",
8-
"./resources/**/*.vue",
6+
'./resources/**/*.blade.php',
7+
'./resources/**/*.js',
8+
'./resources/**/*.vue',
9+
'./vueform.config.js',
910
'./node_modules/@vueform/vueform/themes/tailwind/**/*.vue',
1011
'./node_modules/@vueform/vueform/themes/tailwind/**/*.js',
1112
],

templates/vueform/nuxt/tailwind-material/ts/tailwind.config.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ import vueformPlugin from '@vueform/vueform/tailwind'
33
/** @type {import('tailwindcss').Config} */
44
export default {
55
content: [
6-
"./components/**/*.{js,vue,ts}",
7-
"./layouts/**/*.vue",
8-
"./pages/**/*.vue",
9-
"./plugins/**/*.{js,ts}",
10-
"./app.vue",
11-
"./error.vue",
6+
'./components/**/*.{js,vue,ts}',
7+
'./layouts/**/*.vue',
8+
'./pages/**/*.vue',
9+
'./plugins/**/*.{js,ts}',
10+
'./app.vue',
11+
'./error.vue',
12+
'./vueform.config.ts',
1213
'./node_modules/@vueform/vueform/themes/tailwind/**/*.vue',
1314
'./node_modules/@vueform/vueform/themes/tailwind/**/*.js',
1415
],

0 commit comments

Comments
 (0)