-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat: add vite sandbox template #33631
base: master
Are you sure you want to change the base?
feat: add vite sandbox template #33631
Conversation
📊 Bundle size report✅ No changes found |
723bef3
to
24eb119
Compare
Pull request demo site: URL |
@@ -0,0 +1,32 @@ | |||
# FluentUI React v9 - Vite.js example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm open for suggestions for a better place than /sandbox/[template-name]
to put sandbox scaffolds.
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"react": "^18.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The template was generated with React 18 by Vite, not sure if it's okay to use it or we should downgrade it to 17 as we here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discussed offline - here is the gist
- we gonna proceed with this
- integration testing etc will be added later if the starter will adopt user-base in terms of bringing value to adopt fluentui
scaffolding setup tweaks
we gonna create 1 project that will be nx project and registered under yarn workspace.
something like:
- root
/starter-templates
|- /starter-templates
|- project.json ( wont contain dependencies used within starters to not add any extra dependencies within monorepo )
|- package.json ( private )
|- README.md
|- src/
|- react-components-vite/
|- .... boilerplate already present in this PR
ty
Previous Behavior
--
New Behavior
Added a boilerplate for the Vite starter template. It can be utilized for local project bootstrapping as well as a starter for Stackblitz and CodeSandbox.
Open questions
sandbox/*
be included to yarn workspaces and nx?apps/sandbox-vite-integration-tests-v9
, build the sandbox project and run some cypress/playwright tests against it.react-storybook-addon-export-to-sandbox
Related Issue(s)