altlokalt / svelte-texbab

Home Page:https://svelte-texbab.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app

Dev Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open

Building To create a production version of your app:

npm run build

preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Run

yarn (or pnpm install or ynpm install)

or start the server and open the app in a new browser tab

npm run dev -- --open yarn dev

best to go to your branch NEVER work in MAIN
# lastly ALWAYS
git pull origin main

to see all branches

git branch -a

make a new branch

git branch grego

switches branches

git checkout grego

OR switch bck to

git checkout main

delete local branch CAUSING PROBLEMS

git branch -d git branch -d grego git add . git commit -m "lastly" git pull origin main git push origin grego

if u have merging issues try

git stash git pull origin main git stash pop

or ese

git merge --abort git pull origin main

to rm a pckg

npm uninstall @fouita/pagination --save-dev

if i doesnt help

git add yarn.lock git commit -m "Resolved merge conflict in yarn.lock"

config it u dont hv one eg user.name=greg user.email=altlokalt@gmail.com

git config --global altlokalt@gmail.com git config --global grego

or first git branch

git config --global --list user.name=greg user.email=altlokalt@gmail.com

or Create a new branch and switch to it

git checkout git checkout -b grego

yarn build --filter svelte-texbab
yarn preview --filter svelte-texbab

yarn preview --filter svelte-texbab

git log --oneline

git reset HEAD~1 git status

to see whats different between branches

git diff HEAD..origin/main git reset --hard HEAD git pull origin main

# Install Node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
#close and re-open your terminal window.
nvm install node
npm install -g npm@latest
wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
npm install -g pnpm
sudo chown -R yourusername:yourusername /home/minfuel-svelte
git clone https://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@github.com/minfuel/minfuel-svelte.git

To deploy your app,adapter

About

https://svelte-texbab.vercel.app


Languages

Language:Svelte 44.8%Language:CSS 34.0%Language:HTML 13.1%Language:TypeScript 4.0%Language:JavaScript 3.9%Language:Dockerfile 0.2%Language:Shell 0.0%