https://github.com/corbaz/svelte-tailwind-mongodb
svelte-tailwind-mongodb con vite
https://github.com/corbaz/svelte-tailwind-mongodb
Last synced: about 1 year ago
JSON representation
svelte-tailwind-mongodb con vite
- Host: GitHub
- URL: https://github.com/corbaz/svelte-tailwind-mongodb
- Owner: corbaz
- Created: 2021-10-24T20:29:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-25T14:37:39.000Z (over 4 years ago)
- Last Synced: 2025-02-09T01:39:44.876Z (over 1 year ago)
- Language: Svelte
- Homepage: svelte-tailwind-mongodb.vercel.app
- Size: 70.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svelte + TS + Vite
```cmd
C:\www\__Svelte>npm init vite@latest vite-svelte-ts-tailwind -- --template svelte-ts
Need to install the following packages:
create-vite@latest
Ok to proceed? (y) y
Scaffolding project in C:\www\__Svelte\vite-svelte-ts-tailwind...
Done. Now run:
cd vite-svelte-ts-tailwind
npm install
npm run dev
C:\www\__Svelte\vite-svelte-ts-tailwind>ncu
Checking C:\www\__Svelte\vite-svelte-ts-tailwind\package.json
[====================] 8/8 100%
@sveltejs/vite-plugin-svelte ^1.0.0-next.11 → ^1.0.0-next.30
svelte ^3.37.0 → ^3.44.0
svelte-check ^2.1.0 → ^2.2.7
svelte-preprocess ^4.7.2 → ^4.9.8
tslib ^2.2.0 → ^2.3.1
typescript ^4.3.2 → ^4.4.4
vite ^2.6.4 → ^2.6.10
Run ncu -u to upgrade package.json
#Setting up Tailwind CSS
Tailwind CSS requires Node.js 12.13.0 or higher.
##Install Tailwind via npm
Install Tailwind and its peer-dependencies using npm:
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
##Create your configuration files
Next, generate your tailwind.config.js and postcss.config.js files:
npx tailwindcss init -p
```
```cmd
Quick setup — if you’ve done this kind of thing before
or
https://github.com/corbaz/vite-svelte-tailwind-daisyui-mongodb.git
Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.
…or create a new repository on the command line
echo "# svelte-tailwind-mongodb" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/corbaz/svelte-tailwind-mongodb.git
git push -u origin main
```
[](https://app.netlify.com/sites/vite-svelte-tailwind-mongodb/deploys)
[Vercel Deploy](http://svelte-tailwind-mongodb.vercel.app/)
[surge.sh Deploy](https://svelte-corbaz.surge.sh/)
[Github-Pages Deploy](https://corbaz.github.io/svelte-tailwind-mongodb/)