-
I created a solid TypeScript project with: npm init solid@latest
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
┌
Create-Solid v0.5.8
│
◇ Project Name
│ Test
│
◇ Is this a Solid-Start project?
│ Yes
│
◇ Which template would you like to use?
│ basic
│
◇ Use Typescript?
│ Yes
│
◇ Project successfully created! 🎉
│
◇ To get started, run: ─╮
│ │
│ cd Test │
│ npm install │
│ npm run dev │
│ │
├────────────────────────╯ And when I wanted to access the window object got an error that it was not defined. Does default solid project use SSR? How to indicate that the component should be run on the client? I tried to use I'm trying to execute this at the top level of the app.tsx file: import $ from 'jquery';
import terminal from 'jquery.terminal';
import 'jquery.terminal/css/jquery.terminal.min.css';
terminal(window, $); |
Beta Was this translation helpful? Give feedback.
Answered by
jcubic
May 9, 2024
Replies: 1 comment
-
It seems that I created a Solid Start project. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jcubic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that I created a Solid Start project.