Welcome to {{name}}
-
Here's a vanilla custom element:
class HelloWorld extends HTMLElement { @@ -60,13 +41,8 @@ class HelloWorld extends HTMLElement { >
diff --git a/.gitignore b/.gitignore
index 5ffe8ee..d3e9033 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,10 @@
+dist
node_modules
*.log*
.nitro
.cache
.output
.env
-dist
*~
*swp
*swo
diff --git a/package-lock.json b/package-lock.json
index 9c9f4b0..3825119 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4000,7 +4000,7 @@
}
},
"packages/create-mcfly": {
- "version": "0.3.3",
+ "version": "0.3.2",
"license": "MIT",
"dependencies": {
"consola": "^3.2.3",
diff --git a/templates/basic/.eslintignore b/templates/basic/.eslintignore
index be2e4d2..329ade7 100644
--- a/templates/basic/.eslintignore
+++ b/templates/basic/.eslintignore
@@ -1,3 +1,3 @@
dist
-.output
node-modules
+.output
diff --git a/templates/basic/.gitignore b/templates/basic/.gitignore
index eee04ce..c2a82ff 100644
--- a/templates/basic/.gitignore
+++ b/templates/basic/.gitignore
@@ -1,7 +1,10 @@
+dist
node_modules
*.log*
.nitro
.cache
.output
.env
-dist
\ No newline at end of file
+*~
+*swp
+*swo
\ No newline at end of file
diff --git a/templates/basic/README.md b/templates/basic/README.md
index d1872a5..6e1969a 100644
--- a/templates/basic/README.md
+++ b/templates/basic/README.md
@@ -1,14 +1,11 @@
# McFly Starter Project
-
## Background
This project was generated from the basic template for **McFly** -- a no-framework framework that assists in leveraging the web platform.
-```
-npm create mcfly@latest
-```
+
It contains example files to get you started using vanilla web technologies in a modern way. See the [Special Directories](#special-directories) section for more information.
@@ -61,11 +58,6 @@ The following commands are available to you on this project. Add more, or modify
| npm run preview | Preview the built app locally |
-## More info
-This framework is a result of [an exploration](https://social.ayco.io/@ayo/111195315785886977) for using [**Nitro**](https://nitro.unjs.io) and vanilla JS custom elements using a minimal [**Web Component Base**](https://ayco.io/n/web-component-base) class.
-
-**Nitro** is the same production-grade web server powering [**Nuxt**](https://nuxt.com/)
-
---
*Just keep building*
*A project by [Ayo Ayco](https://ayco.io)*
diff --git a/templates/basic/nitro.config.mjs b/templates/basic/nitro.config.mjs
index 17773e4..1064497 100644
--- a/templates/basic/nitro.config.mjs
+++ b/templates/basic/nitro.config.mjs
@@ -1,3 +1,2 @@
import McFly from "@mcflyjs/config";
-
export default defineNitroConfig({ ...McFly() });
diff --git a/templates/basic/src/pages/index.html b/templates/basic/src/pages/index.html
index 4650d3d..7e3cba3 100644
--- a/templates/basic/src/pages/index.html
+++ b/templates/basic/src/pages/index.html
@@ -3,40 +3,21 @@
Here's a vanilla custom element:
class HelloWorld extends HTMLElement { @@ -60,13 +41,8 @@ class HelloWorld extends HTMLElement { >