Comments (3)
A temporary solution is to edit the vscode settings or create a /.vscode/settings.json
file with the following content:
{
"files.exclude": {
"src/routes/**/*.ts": true,
"src/routes/**/*.js": true,
"src/routes/api/**/*.js": false,
"src/routes/api/**/*.ts": false
}
}
The api folder would contain anything that you wan't to handle with Standalone SvelteKit and yes @Acmion this is unfortunate.
from svemix.
Yeah, I have also thought about this issue.
I hid the "unwanted" files in VS Code, however, this is not generalizable to all cases. Additionally, this is also relatively prone to errors, especially if working in teams where a member may edit a generated file and thus causing problems in the long run.
from svemix.
Remix added support for Vue, and now have an open PR for Svelte fyi
from svemix.
Related Issues (20)
- JS disabled forms loose state
- Update to newest kit version
- Prerendering might not work
- Relative imports in ssr scripts are wrong HOT 2
- Optimistic ui HOT 1
- Update to newest kit version
- Respect SvelteKit Config for `kit.files.routes` HOT 1
- Internal Server Error 500 If `kit.config.trailingSlash: "always"` HOT 1
- Document Limitations of Svemix HOT 1
- Security Issue (Relatively Minor) HOT 2
- Duplicate question mark in querystring
- Leverage SvelteKit's `stuff`? HOT 2
- Prerendering any content HOT 1
- Endpoint Layouts
- Better Error-Handling
- Better Documentation
- Examples
- Svemix Can Not Be Used Together With Certain Preprocessors
- Future of svemix HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svemix.