maybe going for it
This commit is contained in:
parent
9dac46970f
commit
d877fbd720
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
node_modules
|
||||
node_modules
|
||||
dist
|
||||
.parcel-cache
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"plugins": {
|
||||
"tailwindcss": {},
|
||||
"autoprefixer": {}
|
||||
}
|
||||
}
|
5
.postcssrc.json
Normal file
5
.postcssrc.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"plugins": {
|
||||
"tailwindcss": {}
|
||||
}
|
||||
}
|
32
package.json
32
package.json
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"name": "starter",
|
||||
"source": "src/index.html",
|
||||
"scripts": {
|
||||
"start": "parcel",
|
||||
"build": "parcel build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.2",
|
||||
"parcel": "latest",
|
||||
"postcss": "^8.4.6",
|
||||
"tailwindcss": "^3.0.22"
|
||||
},
|
||||
"dependencies": {
|
||||
"alpinejs": "^3.9.0",
|
||||
"prettier": "^2.5.1"
|
||||
}
|
||||
"name": "starter",
|
||||
"source": "src/index.html",
|
||||
"scripts": {
|
||||
"dev": "parcel",
|
||||
"build": "parcel build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.2",
|
||||
"parcel": "latest",
|
||||
"postcss": "^8.4.6",
|
||||
"tailwindcss": "^3.0.22"
|
||||
},
|
||||
"dependencies": {
|
||||
"alpinejs": "^3.9.0",
|
||||
"prettier": "^2.5.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,21 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>My App</title>
|
||||
<link rel="stylesheet" href="./css/styles.css" />
|
||||
</head>
|
||||
<body class="flex items-center justify-center w-screen h-screen">
|
||||
<div class="flex flex-col">
|
||||
<p class="text-4xl text-blue-600">ready to code 🚀</p>
|
||||
<div x-data="{ open: false }">
|
||||
<button class="" @click="open = !open">
|
||||
Click here to test alpine :
|
||||
</button>
|
||||
<span x-show="open"> it's working ✅</span>
|
||||
</div>
|
||||
</div>
|
||||
<script src="./js/app.js" type="module"></script>
|
||||
</body>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>My App</title>
|
||||
<link rel="stylesheet" href="./css/styles.css" />
|
||||
</head>
|
||||
<body class="min-h-screen">
|
||||
<script src="./js/website.js" type="module"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue