@nuxtus/nuxtus 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -12,12 +12,12 @@ It also includes [nuxtus/cli]("https://github.com/nuxtus/cli") which provides a
12
12
  - [Headless UI](https://headlessui.dev/)
13
13
  - [HeroIcons](https://heroicons.com/)
14
14
  - [Google Fonts](https://github.com/nuxt-community/google-fonts-module)
15
- - [Nuxtus CLI]("https://github.com/nuxtus/cli")
15
+ - [Nuxtus CLI](https://github.com/nuxtus/cli)
16
16
 
17
17
  ## Quickstart (preferred)
18
18
 
19
19
  ```bash
20
- $ npx create-nuxtus app-name
20
+ $ npx @nuxts/nuxtus app-name
21
21
  $ cd app-name
22
22
  ```
23
23
 
@@ -30,6 +30,17 @@ Your project will contain 2 folders server (Directus) and client (Nuxt). Run the
30
30
  ~/client $ npm run dev
31
31
  ```
32
32
 
33
+ ### Creating pages
34
+
35
+ Nuxtus includes Nuxtus CLI which will automatically generate listing and view pages of any Directus collections. To use it:
36
+
37
+ 1. Log in to Directus ([http://0.0.0.0:8055/admin/login](http://0.0.0.0:8055/admin/login)) and [create a collection](https://docs.directus.io/configuration/data-model/#creating-a-collection)
38
+ 2. From the client folder `cd client` run `nuxtus create` and follow the prompts
39
+
40
+ Pages will be created for each collection you select in `clients/pages`. These are a starting point for you to customise.
41
+
42
+ For more details on [Nuxtus CLI](https://github.com/nuxtus/cli) click [here](https://github.com/nuxtus/cli).
43
+
33
44
  ## Production deployment
34
45
 
35
46
  By default Directus is configured to accept CORS from any origin. Nuxtus suggests modifying this for your production deployment.
package/changelog.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Nuxtus
2
2
 
3
+ ## 1.0.1
4
+
5
+ - Correct create command in readme
6
+ - Add details on using Nuxtus CLI
7
+ - Update feedback when installing dependencies
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  - Add `npx nuxtus-create` command
package/create-app.js CHANGED
@@ -36,8 +36,9 @@ async function main() {
36
36
 
37
37
  process.chdir(projectPath)
38
38
 
39
- console.log("Installing dependencies...")
39
+ console.log("Installing Directus dependencies...")
40
40
  execSync("cd server && npm install")
41
+ console.log("Installing Nuxt dependencies...")
41
42
  execSync("cd client && npm install")
42
43
 
43
44
  console.log("Removing unused files...")
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxtus/nuxtus",
3
3
  "description": "Directus/Nuxt boilerplate with Tailwind CSS.",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "main": "create-app.js",
6
6
  "repository": {
7
7
  "type": "git",