Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove outdated instructions #1590

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions docs/tutorials/hello-stacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@ and initialize it with
npx tailwindcss init -p
```

Now we need to tell Tailwind where our content is coming from and change out processing mode to "Just-In-Time" by modifying the `tailwind.config.js` file to look like this.
Now we need to tell Tailwind where our content is coming from by modifying the content config option in the `tailwind.config.js` file to look like this.

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: "jit",
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
Expand Down Expand Up @@ -390,7 +389,6 @@ And import a couple things from it at the top of our `App.jsx` file.
import {
AppConfig,
UserSession,
AuthDetails,
showConnect,
} from "@stacks/connect";
```
Expand Down Expand Up @@ -530,8 +528,6 @@ And finally we can add the code to initiate the transaction.
const submitMessage = async (e) => {
e.preventDefault();

const network = new StacksMocknet();

const options = {
contractAddress: "ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM",
contractName: "hello-stacks",
Expand Down