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

improve vite settings #1

Merged
merged 1 commit into from Mar 13, 2024
Merged

Conversation

yusukebe
Copy link
Contributor

This PR improve Vite settings:

  • Update tsconfig.json.
  • Use adapter in vite.config.ts.
  • Specify CSS path correctly.

To use D1 Bindings:

Create D1 database by using Wrangler:

npm exec wrangler d1 create my-database

Create wrangler.toml:

cp wrangler.example.toml wrangler.toml

Edit wrangler.toml to rewrite D1 database id.

Copy link
Owner

@lauragift21 lauragift21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much! @yusukebe

@lauragift21 lauragift21 merged commit 61813a0 into lauragift21:main Mar 13, 2024
@yusukebe yusukebe deleted the improve-settings branch March 13, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants