create-nuxt-base 0.1.16 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/nuxt-base-template/nuxt.config.ts +9 -3
- package/nuxt-base-template/package.json +4 -0
- package/nuxt-base-template/src/components/base/.gitkeep +0 -0
- package/nuxt-base-template/src/forms/.gitkeep +0 -0
- package/nuxt-base-template/src/middleware/auth.global.ts +7 -0
- package/nuxt-base-template/tailwind.config.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.18](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.17...v0.1.18) (2023-06-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add init command ([defa0a4](https://github.com/lenneTech/nuxt-base-starter/commit/defa0a46b4d9d0fa0448afddcb2db25d41252159))
|
|
11
|
+
|
|
12
|
+
### [0.1.17](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.16...v0.1.17) (2023-06-26)
|
|
13
|
+
|
|
5
14
|
### [0.1.16](https://github.com/lenneTech/nuxt-base-starter/compare/v0.1.15...v0.1.16) (2023-06-12)
|
|
6
15
|
|
|
7
16
|
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
export default defineNuxtConfig({
|
|
3
3
|
srcDir: "./src",
|
|
4
|
-
modules: [
|
|
4
|
+
modules: [
|
|
5
|
+
"@nuxtjs/tailwindcss",
|
|
6
|
+
"@lenne.tech/nuxt-base",
|
|
7
|
+
"@vueuse/nuxt",
|
|
8
|
+
"@formkit/nuxt",
|
|
9
|
+
],
|
|
5
10
|
nuxtBase: {
|
|
6
|
-
host: "http://localhost:
|
|
11
|
+
host: "http://localhost:3000/graphql",
|
|
12
|
+
schema: "../api/schema.gql",
|
|
7
13
|
watch: false,
|
|
8
14
|
autoImport: true,
|
|
9
15
|
apollo: {
|
|
@@ -14,6 +20,6 @@ export default defineNuxtConfig({
|
|
|
14
20
|
},
|
|
15
21
|
},
|
|
16
22
|
imports: {
|
|
17
|
-
dirs: ["./states", "./stores"],
|
|
23
|
+
dirs: ["./states", "./stores", "./forms"],
|
|
18
24
|
},
|
|
19
25
|
});
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
"name": "nuxt-base-template",
|
|
3
3
|
"private": true,
|
|
4
4
|
"scripts": {
|
|
5
|
+
"init": "npm install",
|
|
5
6
|
"reinit": "rm -rf node_modules && rm -rf package-lock.json && npx nuxt cleanup && npm cache clean --force && npm i",
|
|
6
7
|
"build": "nuxt build",
|
|
8
|
+
"start": "nuxt dev --port 3100",
|
|
7
9
|
"dev": "nuxt dev",
|
|
8
10
|
"generate": "nuxt generate",
|
|
9
11
|
"preview": "nuxt preview",
|
|
@@ -18,6 +20,8 @@
|
|
|
18
20
|
"release:major": "standard-version --release-as major && git push --follow-tags origin main"
|
|
19
21
|
},
|
|
20
22
|
"dependencies": {
|
|
23
|
+
"@formkit/icons": "1.0.0-beta.15",
|
|
24
|
+
"@formkit/nuxt": "1.0.0-beta.15",
|
|
21
25
|
"@lenne.tech/nuxt-base": "latest",
|
|
22
26
|
"@vueuse/core": "10.1.2",
|
|
23
27
|
"@vueuse/nuxt": "10.1.2",
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED